Print stdout in os_exec_win
This commit is contained in:
@@ -76,6 +76,7 @@ static JSValue js_os_exec_win(JSContext *ctx, JSValue this_val, int argc, JSValu
|
||||
CloseHandle(pi.hProcess);
|
||||
CloseHandle(pi.hThread);
|
||||
|
||||
printf("%s", buf);
|
||||
return JS_NewString(ctx, buf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user