in reply to Re: Getting back control..to main script
in thread Getting back control..to main script

You can do this in perl with fork()+exec(), either directly or through a module like the aforementioned Proc::Background or Parallel::ForkManager. Or you can let the shell do the same trick with backgrounding the process:

perl -e 'system("emacs &"); print "yes";'