Message165963
| Author |
sbt |
| Recipients |
doerwalter, sbt |
| Date |
2012年07月20日.18:09:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1342807786.35.0.964476044581.issue15408@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Actually, if you replace
print(os.popen("uname").read())
with
f = os.popen("uname")
print(f.read())
f.close()
or
with os.popen("uname") as f:
print(f.read())
then things should work. This is because f.close() waits for the pid. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月20日 18:09:46 | sbt | set | recipients:
+ sbt, doerwalter |
| 2012年07月20日 18:09:46 | sbt | set | messageid: <1342807786.35.0.964476044581.issue15408@psf.upfronthosting.co.za> |
| 2012年07月20日 18:09:45 | sbt | link | issue15408 messages |
| 2012年07月20日 18:09:45 | sbt | create |
|