I'm trying to start a process detached. Process.start()
works, but when the parent process quits, the child process will be killed.
In Linux people call setsid()
to start a new session, so the child process will stay alive if parent process dies. What's the equivalent solution in Windows?