aboutsummaryrefslogtreecommitdiff
path: root/unix_doublefork.py
diff options
context:
space:
mode:
Diffstat (limited to 'unix_doublefork.py')
-rw-r--r--unix_doublefork.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/unix_doublefork.py b/unix_doublefork.py
index fc94a42..a98dfbf 100644
--- a/unix_doublefork.py
+++ b/unix_doublefork.py
@@ -27,11 +27,3 @@ else:
else:
print_process_info('Child')
sys.exit()
-
-# # POP QUIZ!!!! Why won't this work
-# print_process_info('Parent')
-# os.setsid()
-# print_process_info('Parent')
-# newpid = os.fork()
-# if newpid == 0:
-# print_process_info('Child')