examples/getpid.py
import os

print(os.getpid())
print(os.getppid())
93518
92859
echo $$