I’m writing a Python program for Linux and the program basically uses the terminal give feedback on it’s initialization to the user and then it must relinquish control of the terminal and continue it’s execution on the background. How can I achieve this?
Thank you
You can use os.fork() to create a child process:
os.fork() returns 0 in the child process, and the child process ID in the paret process
Note that each process gets its own copy of local variables.
Hope this helps