SHARE
TWEET

Untitled

a guest Aug 21st, 2015 32 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2.  
  3.  
  4. pid = os.fork()
  5. if pid:
  6.  
  7.     print("parent")
  8.     os.waitpid(pid, 0)
  9.    
  10. else:
  11.  
  12.     print("child")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top