mirror of
https://github.com/janet-lang/janet
synced 2025-06-26 07:02:57 +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) {
|
} else if (new_err != NULL) {
|
||||||
startupInfo.hStdError = new_err;
|
startupInfo.hStdError = new_err;
|
||||||
} else if (stderr_is_stdout) {
|
} else if (stderr_is_stdout) {
|
||||||
startupInfo.hStdError = startupInfo.hStdOut;
|
startupInfo.hStdError = startupInfo.hStdOutput;
|
||||||
} else {
|
} else {
|
||||||
startupInfo.hStdError = (HANDLE) _get_osfhandle(2);
|
startupInfo.hStdError = (HANDLE) _get_osfhandle(2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user