in reply to Re: execute secondary script not waiting for a result and continue with script
in thread execute secondary script not waiting for a result and continue with script

Then moritz's solution is the correct one - fork before you exec
  • Comment on Re^2: execute secondary script not waiting for a result and continue with script