in reply to Spawning a process from Main script

Which system are you running on?

You probably want to look at fork (perldoc -f fork).

Your parent-process however will get a signal when you child exits so if you don't want that there are techniques to completely disassociate a process from it's parent wich usually involve forking twice - that is if you run on *nix...

  • Comment on Re: Spawning a process from Main script