Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit7228ca9
committed
fix(cmd): fix with_stdout implementation
Admittedly this fix is solely based on the documentation providedfor this parameter, which indicated a different intend than wasactually implemented. Also I don't believe doing this will causeany harm.As a special note: the call to `open(os.devnull, 'wb')` does not seem leakthe handle, apparently it is given as-is to the subprocess, which will thenclose it naturally. This was tested using an interactive session via `htop`on osx.Fixes#4371 parent7a8f96c commit7228ca9
2 files changed
+3
-1
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| 10 | + | |
| 11 | + | |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
605 | 605 |
| |
606 | 606 |
| |
607 | 607 |
| |
608 |
| - | |
| 608 | + | |
609 | 609 |
| |
610 | 610 |
| |
611 | 611 |
| |
|
0 commit comments
Comments
(0)