Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork944
Commit95878d2
committed
Merge pull request#58 from sugi/cmd-fd-leak-fix
Fixes on cmd.py (fd leak and signal exception)Currently if command is called with as_proces=True, pipes for thecommand will not be closed.cb68f36 makes sure to close command file descriptors.Ignore signal exception on AutoInterrupt destructor.When command run as subprocess, AutoInterrupt will kill theprocess on destructor. However, if process already finished,it raise OSError exception.1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| 76 | + | |
| 77 | + | |
| 78 | + | |
76 | 79 |
| |
77 | 80 |
| |
78 | 81 |
| |
| |||
84 | 87 |
| |
85 | 88 |
| |
86 | 89 |
| |
| 90 | + | |
| 91 | + | |
87 | 92 |
| |
88 | 93 |
| |
89 | 94 |
| |
| |||
100 | 105 |
| |
101 | 106 |
| |
102 | 107 |
| |
| 108 | + | |
| 109 | + | |
103 | 110 |
| |
104 | 111 |
| |
105 | 112 |
| |
|
0 commit comments
Comments
(0)