I want to start several subprocesses with a programm, i.e. a module foo.py starts several instances of bar.py.
foo.py
bar.py
Since I sometimes have to te
You could use os.forkpty() instead, which, as result code, gives you the pid and fd for the pseudo terminal. More documentation here: http://docs.python.org/2/library/os.html#os.forkpty
os.forkpty()