in reply to STDIN
Yeaas, and as usual there are a million permutations. Some simple ones leap to mind.
system ( "echo yes | /usr/bin/querrelous" );
which obviously will only work for the one 'yes'or'no'
For anything more complicated maybe you should think about IPC::Open2 for talking and listening to your process.open ( SYS "|/usr/bin/querrelous" ); print SYS 'yes' , $/;
submersible_toaster bashing buttons
|
|---|