examples/os/fork.py
from __future__ import print_function
import os,time

pid = os.fork()
if not pid:
  print("In Child")
  time.sleep(100)
  exit(1)

print("In Parent of", pid)
r = os.wait()
print(r)