aboutsummaryrefslogtreecommitdiff
path: root/unix_doublefork.py
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-02-14 09:06:37 -0700
committerCody Hiar <codyfh@gmail.com>2017-02-14 09:06:37 -0700
commit9d98c523db3ac35e1e0f2bc94d0ec390858ae4f1 (patch)
treed5d560637c63268867da1f992001e6fcbda3b098 /unix_doublefork.py
parent58b4fb228c3f7583386ded86505cb10f2a870129 (diff)
Updates
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')