#Import os Library
import os
#Create a child process using os.fork() method
pid = os.fork()
#pid greater than 0 indicates the parent process
if pid > 0:
print("\nIn parent process")
else :
print("In child process")
#Exit with status os.EX_OK
os._exit(os.EX_OK)