Hi, I would like to know how to create a process with python that doesn’t stop when the terminal is closed.
I have tried with this code (This code creates the process correctly but dies when I close the terminal):
from multiprocessing import Process
def test():
while 1:
pass # This function is just an example -_-
p = Process(target=test)
p.start()