From e8187fdee5ebb8ae8b7aae231649fc64e052926c Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 5 Apr 2025 20:26:57 -0500 Subject: [PATCH] Fix windows build --- src/core/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/os.c b/src/core/os.c index b2387979..dbb3695c 100644 --- a/src/core/os.c +++ b/src/core/os.c @@ -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); }