pwagyi has asked for the wisdom of the Perl Monks concerning the following question:
Greeting monks! I have been using perl system, backtick for some time to invoke other executables. But then I came across IPC::Cmd run, run_forked, I realize that it's somewhat better in a sense that I can easily access stdout, stderr and also exit code. So the question is when is it appropriate to use each system, backtick, or other modules? Is there best practice?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl launching process
by haukex (Archbishop) on Dec 13, 2018 at 11:10 UTC | |
Re: Perl launching process
by hippo (Archbishop) on Dec 13, 2018 at 10:35 UTC | |
by pwagyi (Monk) on Dec 14, 2018 at 01:12 UTC | |
by hippo (Archbishop) on Dec 14, 2018 at 08:58 UTC | |
Re: Perl launching process
by thanos1983 (Parson) on Dec 13, 2018 at 10:27 UTC | |
Re: Perl launching process
by Your Mother (Archbishop) on Dec 13, 2018 at 19:40 UTC | |
Re: Perl launching process
by karlgoethebier (Abbot) on Dec 14, 2018 at 06:53 UTC | |
Re: Perl launching process
by jimpudar (Pilgrim) on Dec 13, 2018 at 18:28 UTC |