Commit 6a44ba5
committed
Fix for WindowsError: [Error 6] The handle is invalid
In subprocess.py there is an if statement for when stderr is None.
This is the code that is failing because subprocess wants to access
`_subprocess.GetStdHandle(_subprocess.STD_ERROR_HANDLE)` and that errors
for some reason. The error in subprocess.py should be addressed however,
Python 2 is at end of life soon so I suggest this woraround when using
pyinstaller to build the EXE.1 parent c492a8f commit 6a44ba5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments