JimT Utah

I'm trying to start a process and have it run independently. I may just be dense, but it appears that it can't be done. When the process that issued the process.start() ends, the child process stops too.

I tried this:

prc.start()
thread.sleep(T) ' 1000 < T < 20000
close()


As soon as the sleep time elapses, the process started by the prc.start command stops.

So how do I start an independent process that will persist after its parent shuts down


Re: Visual Basic General Does killing a parent process have to kill the children?

BlueMikey

Don't create a new Process object, just use one of the shared methods inside of it to run the process:

For example...