subprocess - Run python script in different shell levels -


//starting perl script

os.system('./start.pl')

//make command used , o/p redirected file

os.system('make > file')

i beginner in python.

whenever run perl script(start.pl), new subprocess created , shell enters new subshell , rest lines in python script goes un-entered.

kindly me run other commands after shell enters new sub shell.

automating interactive applications pure python pretty difficult , requires lot of knowledge sockets, select, tty. make life easier, recommend using pexpect kind of task.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -