Should I close after popen??
Andrew Markebo
flognat at flognat.myip.org
Fri Mar 16 04:19:45 EST 2001
/ Donn Cave <donn at oz.net> wrote:
| [...]
| For a moment there I was awfully confused, since Python won't
| even try to run that code, but I see you're running an earlier
| version, before 2.0.
Ahh hmm yep.. the scripts are running in 1.5.2, so what I do is to
remove the waits, (hmm are ther any possibility of doing something
similar??? am I supposed to use select/poll?)
Uhm how do I get the exit-code of stuff from popen? Looking at popen2
it forks and does waitpid..
Ahh well I suppse the right thing to do(TM) is to go popen2??
/Andy
More information about the Python-list
mailing list