Creating a child process, even when spawning it independently of parent process, ties it to the terminal in which it was executed.
Detaching (forking) a process from the parent process and also from the controlling terminal is different for Windows vs Linux. Daemon on *nix systems, Background Service on Windows.
Read:
Non-blocking issue
Creating a child process, even when spawning it independently of parent process, ties it to the terminal in which it was executed.
Detaching (forking) a process from the parent process and also from the controlling terminal is different for Windows vs Linux. Daemon on *nix systems, Background Service on Windows.
Read:
Non-blocking issue