[fpc-pascal] Redirecting input to a child process

Marco van de Voort marcov at stack.nl
Sun May 8 12:29:48 CEST 2011


In our previous episode, Anton Shepelev said:
>    MoreProcess.CommandLine := 'C:\WINDOWS\system32\cmd.exe /C more';

Why do you execute over the shell?  You now pipe your information into the
shell (since that is what you execute directly), not the program.




More information about the fpc-pascal mailing list