Can a system()
call can ever die
in Perl 5?
(in other words, in order to 100% crash-proof a program that does a system()
call, does it need to be wrapped into an eval
block, or is that wholly totally unnecessary?)
I haven't found a single mention to that possibility in perldoc system
, but didn't quite find the precise "this call never dies" either.
NOTE: the question is about basic CORE Perl here, no autodie
or any other custom module that would have similar effect. Also, assume no ALRM
signal was set, or any other custom signal handler for that matter.
I'm assuming that all versions of Perl 5.* behave the same, but if not, an answer pertaining to 5.8 would be appreciated.
system
to run out of memory. – Temekatemerity