in reply to How to run process in the backround even after perl script exit?

Hi, welcome to the Monastery.

"Running in a restricted environment server, I can't install any SSH module support."

That's not something I would accept. Are you at work? Are you on a shared server? Consider getting a slice on a Linode or AWS so you can develop in Perl with a full deck of cards.

For a cheap solution to your problem, maybe you could fork a child process then exec the shell job from the child.

Hope this helps!


The way forward always starts with a minimal test.
  • Comment on Re: How to run process in the backround even after perl script exit?