In article <[EMAIL PROTECTED]>, rh0dium wrote: > if os.fork() == 0: > os.setsid > sys.stdout = open("/dev/null", 'w') > sys.stdin = open("/dev/null", 'r')
I don't know if it's the cause of your problem, but you're not doing the backgrounding right, it should be: if os.fork(): os._exit(0) os.setsid() os.chdir("/") fd = os.open("/dev/null", os.O_RDWR) os.dup2(fd, 0) os.dup2(fd, 1) os.dup2(fd, 2) if fd > 2: os.close(fd) # do stuff -- http://mail.python.org/mailman/listinfo/python-list