http://qs321.pair.com?node_id=722580


in reply to Re: system() requires double ctrl-c
in thread system() requires double ctrl-c

For people that do error checking, it's not a problem. die if !system("some_long_running_shell_command");
You mean die if system(...) as system returns 0 on success ... ok, this works for simple scripts, but in the general case you might want the script to handle the error instead of dying.