mirror of
https://github.com/janet-lang/janet
synced 2025-05-10 11:24:13 +00:00
Fix windows build
This commit is contained in:
parent
2fedb67cb3
commit
e8187fdee5
@ -1235,7 +1235,7 @@ static Janet os_execute_impl(int32_t argc, Janet *argv, JanetExecuteMode mode) {
|
||||
} else if (new_err != NULL) {
|
||||
startupInfo.hStdError = new_err;
|
||||
} else if (stderr_is_stdout) {
|
||||
startupInfo.hStdError = startupInfo.hStdOut;
|
||||
startupInfo.hStdError = startupInfo.hStdOutput;
|
||||
} else {
|
||||
startupInfo.hStdError = (HANDLE) _get_osfhandle(2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user