in reply to Spawn a New Process and detach

I think
system("program &") ;
should work. Running the program in background allows your script to continue with rest of the code.
Am I missing anything?

Thanks..