Commit Graph
3 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås 1bf6dee728 Keep ChildProcess to the platforms that spawn
Process is not in the iOS SDK, and the alias stood outside any guard
-- so a phone build reached for a type that is not there. Say where it
belongs, the way everything that uses it already does.
2026-09-15 17:58:28 +02:00
Ole André Vadla Ravnås 7e395a14bf Find PATH by the name Windows gives it
Windows calls it Path, so looking the variable up as PATH found
nothing and set a second one beside it holding only the installation
directory. Names are matched without regard to case, so the emulators
were handed whichever came first and could not see the libraries the
app had lined up for them.

Read and write the name that is already there, and lay the block out
the way CreateProcessW asks, so a pair that differs only in case
cannot change places.
2026-09-15 13:45:09 +02:00
Ole André Vadla Ravnås fa1416e3bc Spawn children without a console
Foundation calls CreateProcessW with CREATE_UNICODE_ENVIRONMENT and
nothing else, and offers no way to add to that. The app has no
console of its own, so every console child it started -- an
emulator, qemu-img, the agent CLI -- was given a fresh command
prompt to look at.

Spawn through ChildProcess instead, which asks for CREATE_NO_WINDOW
on Windows and is Process everywhere else.
2026-09-15 13:45:03 +02:00