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

system returns TRUE on error so you are dieing if system("some_long_running_shell_command") executed successfully.