in reply to Re: Command Line Programming
in thread Command Line Programming
See IPC::Open2 and IPC::Open3 for reading from STDOUT, STDERR, and writing to STDIN all for the same application.$pid = open(PROG, "| /path/to/program -a v1 -b v2 "); print PROG "input to program\n"; close(PROG);
|
|---|