> Does anyone out there have a piece of code that combines pipein
> and pipeout ??
>
> I would like to do something like
>
> my_pipe('./prog',['./prog'],true) -> send -> receive;
>
> send('command1');
> receive() -> answer1;
>
> send('command2');
> receive() -> answer2;
>
> ;;; etc...
>
Look at John Williams' LIB RUN_UNIX_PROGRAM
NB: You need to read the code as well as the help file to
find all the options!
I have managed to use a version of this running telnet to a news server
to implement an NNTP based news server in VED.
Aaron
|