in reply to Re: Creating a background task from the web
in thread Creating a background task from the web
This isn't a valid comparison, though. To compare it to a web application, you would have to run it as:
perl -e 'system( "emacs &"); print "hello";'; exit
And at this point, depending on a variety of factors (whether it's a local shell or an ssh connection to another host, what shell you are using, what command you ran) the exit may work, or it may sit and wait for the background command to finish, since STDOUT and STDERR are still connected.