1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-31 23:53:02 +00:00

Fix os/execute regression.

This commit is contained in:
bakpakin
2022-04-27 22:59:27 -05:00
parent 73f5c41fae
commit 427f7c362e
2 changed files with 5 additions and 1 deletions

View File

@@ -395,7 +395,7 @@ typedef struct {
static JanetEVGenericMessage janet_proc_wait_subr(JanetEVGenericMessage args) {
JanetProc *proc = (JanetProc *) args.argp;
WaitForSingleObject(proc->pHandle, INFINITE);
GetExitCodeProcess(proc->pHandle, &args.argi);
GetExitCodeProcess(proc->pHandle, &args.tag);
return args;
}