Skip to content

Commit e8187fd

Browse files
committed
Fix windows build
1 parent 2fedb67 commit e8187fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/os.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ static Janet os_execute_impl(int32_t argc, Janet *argv, JanetExecuteMode mode) {
12351235
} else if (new_err != NULL) {
12361236
startupInfo.hStdError = new_err;
12371237
} else if (stderr_is_stdout) {
1238-
startupInfo.hStdError = startupInfo.hStdOut;
1238+
startupInfo.hStdError = startupInfo.hStdOutput;
12391239
} else {
12401240
startupInfo.hStdError = (HANDLE) _get_osfhandle(2);
12411241
}

0 commit comments

Comments
 (0)