in reply to Re: Keep a "system" process running if script is prematurely exited?
in thread Keep a "system" process running if script is prematurely exited?

Probably because the perl process that launched gedit is finished (isn't connected to the shell anymore ie STDIN/STDOUT/STDERR are closed)

You can confirm by comparing strace/truss output with

perl -e 'system q{gedit &} scalar <>;'
  • Comment on Re^2: Keep a "system" process running if script is prematurely exited?
  • Download Code