Download Free Ebooks. Download Self Development Books. Download Comic Books. Download Batman Dark Knight. Download Audiobooks Books. Download Self Help Books. Download Project Management Books.Download Management Books.Download Leadership Development Books. Download Religion and Spirituality Books. Download Soft Skills Development Books. Download Self Finance Books. Download Sales and Marketing Books. Download Business DEvelopment Books.
Tuesday, 22 May 2012
My program does not respond when two subprocess read from stdin
I have a C program that need some control information during its runtime. These information will be passed by my python program. I first test this, it works fine. from subprocess import PIPE import subprocess cpro = ['./a_pass','2','8','7'] #2,8,7 are some parameters for init p1 = subprocess.Popen(cpro,stdout=PIPE, stdin=PIPE) #p2 = subprocess.Popen(cpro,stdout=PIPE, stdin=PIPE) f1 =
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment