I know i can get process's stdin
use subprocess in python
like:
import subprocess
f = subprocess.Popen('python example.py',stdin=subprocess.PIPE)
f.stdin.write('some thing')
but I want only know the pid which i want to write to the process's stdin
how can i do this?