I'm not sure if this is what you want, because your description is rather vague, but this may help:
http://www.blitzbasic.com/toolbox/toolbox.php?tool=151
RunProgram returns a process handle, and you can use that with a lot of Windows API calls. (For example, you can then tell that process to close).
http://www.blitzbasic.com/toolbox/toolbox.php?tool=151
RunProgram returns a process handle, and you can use that with a lot of Windows API calls. (For example, you can then tell that process to close).