![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveWhy does bufsize=1 not work in subprocess.Popen ?
From: I. Myself <No.Spam@Spam.none>
Date: Sat Apr 29 2006 - 23:44:21 CEST
I read in the docs that "bufsize=1" causes line buffering. (for
The following tiny program launches an executable file and then receives
p = Popen("." + sep + "myprogram", stdout=PIPE, bufsize=1)
while(1):
Mitchell Timin
-- I'm proud of http://ANNEvolve.sourceforge.net. If you want to write software, or articles, or do testing or research for ANNEvolve, let me know. Humans may know that my email address is: (but remove the 3 digit number) zenguy at shaw666 dot caReceived on Mon May 1 00:45:10 2006 |