View Single Post
Old 26th February 2009, 18:24   #37  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by henryho_hk View Post
May I know what is the difference between pipebuf.exe and normal "|" piping?

I tried "|"'ing 32-bit mencoder's output to 64-bit x264.exe but it failed.
The "|" operator will only work in the Windows Commandline Interpreter (aka "cmd.exe"), but it will not work in CreateProcess() or WinExec() natively.

So if you don't use my 'pipebuf.exe' tool, then you will need to use 'cmd.exe' instead and pass the commandline via "/c" option.

The advantage of 'pipebuf.exe' is that it has a nicer syntax (cmd.exe has a pretty bizarre way of handling quotes) and that you are able to specify the pipe buffer size.

Internally 'cmd.exe' will create the pipe in the very same way that 'pipebuf.exe' usese, I guess...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 26th February 2009 at 18:27.
LoRd_MuldeR is offline   Reply With Quote