learingperl01
MIS
Hello all I am trying to wrap my head around what the best way to call another perl script from within perl script is.
exec was my first choice as I just want to call/run the second script (call it and let is run in the BG) and not have my current script wait for the script to finish before moving. I am not checking for output of the script or any of that, just need to call it.
What would be the best way to accomplish this?
Thing that I noticed when running exec is that it exits once the exec command is called, so my script just finished prematurely.
With system the script waits until the called script is done running which is what I don't want.
If someone could point me in the right direction I would really appreciate it.
THANKS!!
exec was my first choice as I just want to call/run the second script (call it and let is run in the BG) and not have my current script wait for the script to finish before moving. I am not checking for output of the script or any of that, just need to call it.
What would be the best way to accomplish this?
Thing that I noticed when running exec is that it exits once the exec command is called, so my script just finished prematurely.
With system the script waits until the called script is done running which is what I don't want.
If someone could point me in the right direction I would really appreciate it.
THANKS!!