Is it possible to run a Perl script


New Member
Nov 19, 2018
Hi folks,

Within Linux I would like Perl script A to launch Perl script B. However, I want script A to continue running without waiting for script B to return.
And I would like B to be totally independent so that when script A ends, script B is still running.

Is this possible? Any suggestion would be appreciated!

Thank you
Kalyan bl
Linux developer

You can append an & at the end of your second script launch like this:

system("/script/ $params &");

Or if your running one of this distros that won't let that work you'll have to use fork or Proc::Background.

Your welcome,

If your script is going to be mass distributed between different possible distributions I highly recommend learning fork.