Issue7193
Created on 2009-10-23 15:47 by dgriff1, last changed 2009-10-23 17:12 by dgriff1.
| File name |
Uploaded |
Description |
Edit |
Remove |
|
subproc.py
|
dgriff1,
2009-10-23 15:47
|
A script to recreate bug |
|
|
|
msg94389 - (view) |
Author: Dan Griffin (dgriff1) |
Date: 2009-10-23 15:47 |
|
When I create a thread that does a Popen it blocks the entire program. I
have attached a simple sample program. Whether I do Popen.wait or
Popen.poll the program blocks. I have done this on OSX 10.5 and 10.6. I
have not yet tried ussing the multiprocessing module.
|
|
msg94390 - (view) |
Author: R. David Murray (r.david.murray) |
Date: 2009-10-23 17:09 |
|
You are calling the 'run' method of your test class, which runs the
subprocess in the main thread. Try calling t.start() instead.
|
|
msg94391 - (view) |
Author: Dan Griffin (dgriff1) |
Date: 2009-10-23 17:11 |
|
You are right, sorry to waste your time.
|
|
| Date |
User |
Action |
Args |
| 2009-10-23 17:12:01 | dgriff1 | set | status: open -> closed |
| 2009-10-23 17:11:31 | dgriff1 | set | status: closed -> open
messages:
+ msg94391 |
| 2009-10-23 17:09:42 | r.david.murray | set | status: open -> closed
nosy:
+ r.david.murray messages:
+ msg94390 priority: low resolution: invalid stage: committed/rejected |
| 2009-10-23 15:47:37 | dgriff1 | create | |
|