Print stdout in os_exec_win

This commit is contained in:
luboslenco
2025-06-16 12:17:09 +02:00
parent c3d7e5d723
commit 47108dacce
+1
View File
@@ -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);
}