Your Perl code creates Unidirectional communications. You need to create a way to talk to the Remote program. See: perlipc::Bidirectional Communication. Which makes the case for using a Module.
Note also that interrupting the input stream may require special handling. See: perlipc::Safe Signals look down under "Interrupting I/O".
s/interupt/interrupt/
In reply to Re: more problems running a program that hogs the termnial
by starbolin
in thread more problems running a program that hogs the termnial
by GaijinPunch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |