in reply to Re^2: Integrating shell cmd to perl script
in thread Integrating shell cmd to perl script
Why don't you change the shell script to perform a loop and then use either system( 1, 'shellscript') or my $pid= open( my $fh, 'shellscript |' ) to launch it in the background? You can then kill the shell script when your main program exits.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Integrating shell cmd to perl script
by Anonymous Monk on Mar 25, 2015 at 09:37 UTC | |
by Corion (Patriarch) on Mar 25, 2015 at 09:39 UTC | |
by anonymized user 468275 (Curate) on Mar 25, 2015 at 18:49 UTC | |
|
Re^4: Integrating shell cmd to perl script
by Anonymous Monk on Mar 25, 2015 at 09:21 UTC |