Re: [fpc-pascal] pipe question

2006-08-02 Thread Adam Naumowicz
On Wed, 2 Aug 2006, Jonas Maebe wrote: On 2 aug 2006, at 17:33, Adam Naumowicz wrote: Is there a way to launch an external command, feed its input and catch its output on Unix? AFAIK POpen allows to get hold of the input or output, but not both - or am I missing something? Of course, one cou

Re: [fpc-pascal] pipe question

2006-08-02 Thread Jonas Maebe
On 2 aug 2006, at 17:33, Adam Naumowicz wrote: Is there a way to launch an external command, feed its input and catch its output on Unix? AFAIK POpen allows to get hold of the input or output, but not both - or am I missing something? Of course, one could open a temporary file to store the

[fpc-pascal] pipe question

2006-08-02 Thread Adam Naumowicz
Hi, Is there a way to launch an external command, feed its input and catch its output on Unix? AFAIK POpen allows to get hold of the input or output, but not both - or am I missing something? Of course, one could open a temporary file to store the command's input or output and then redirect,