Commit bce62d1
committed
fix(processrunner): use QChar('\0') to fix CreateProcessW error 87
Replacing char literal '\0' appends with QChar('\0') to ensure the
environment block is built as a proper null-terminated UTF-16 string.
The previous char-literal '\0' was treated as a null pointer constant
by the compiler, producing an invalid environment buffer that caused
CreateProcessW to fail with ERROR_INVALID_PARAMETER (87).
(cherry picked from commit d9ef061)1 parent f962f82 commit bce62d1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
| 241 | + | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
0 commit comments