Quote:
Originally Posted by henryho_hk
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...