I have this test code in python :
import os
from multiprocessing import Process
import time
def testfunc():
os.setsid()
time.sleep(60)
p = Process(target=testfunc, args=())
p.daemon=tru
p.start()
#p.join()
#print(p)
print(p.ident)
exit()
and when i run the program and stop the parent process, the child process stop tow. so is there any way to make processes not die after its parent exit without using fork method ?