Resolve own absolute path for subprocess spawn

This commit is contained in:
2025-09-29 09:25:57 -06:00
parent 195f6c1408
commit 4a2ba45620
4 changed files with 24 additions and 12 deletions

View File

@@ -1068,7 +1068,7 @@ namespace kernel32 {
*/
LPSTR WIN_FUNC GetCommandLineA() {
DEBUG_LOG("GetCommandLineA\n");
return wibo::commandLine;
return const_cast<LPSTR>(wibo::commandLine.c_str());
}
LPWSTR WIN_FUNC GetCommandLineW() {