azheid has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl script that calls another set of perl scripts with the system() command.
What I want to know is the behavior of perl when a perl script is killed with ctrl-c. Specifically, if a system() command has already been called, but the system() command process is still running, what happens when the original script is killed?
Will the called process continue to execute, or will it die with the killed script?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: System Commands
by stevieb (Canon) on Jul 07, 2016 at 14:00 UTC | |
|
Re: System Commands
by choroba (Cardinal) on Jul 07, 2016 at 14:03 UTC | |
|
Re: System Commands
by perlfan (Parson) on Jul 07, 2016 at 16:07 UTC | |
|
Re: System Commands
by Anonymous Monk on Jul 07, 2016 at 20:23 UTC |