[fpc-pascal] Redirecting input to a child process

Anton Shepelev anton.txt at gmail.com
Sun May 8 15:10:37 CEST 2011


Marco van de Voort:

> > When  executing  command-line  programs  via the
> > shell, isn't the shell's input redirected to the
> > program's?
>
> Maybe. I'm pretty sure about batchfiles, but never
> tried programs, that's why I thought  I'd  mention
> the observation.

My program captures both the standard and error out-
put of batchfiles and progams called therefrom  just
the  same way as with regular programs run using the
shell.

So you don't see any evident errors?

Anton



More information about the fpc-pascal mailing list