Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Why doesn't 'system' return '-1' when a program fails to start on Windows?by jkahrman (Acolyte) |
on Feb 24, 2017 at 19:56 UTC ( [id://1182756]=note: print w/replies, xml ) | Need Help?? |
http://perldoc.perl.org/perlport.html#system Failure to spawn() a subprocess is indicated by setting $? to "255 << 8"
I definitely missed that. Seems like an odd choice for a sentinel value, though. I'm surprised '-1' wasn't used for consistency.
In Section
Seekers of Perl Wisdom
|
|