in reply to Run a program and allow user to interactivly stop it.

To run a program an instantly return to your script

you can use one of the following methods

Linux:  system('myprog &');

Windows:  system(1,'myprog');