Fix app-server startup on Windows

Fixed an issue where the Codex app-server failed to start on Windows due to Node.js being unable to resolve .cmd shims without shell support. The fix adds platform-specific shell and window-hiding options to properly spawn the process and ensures child processes are fully cleaned up on exit, preventing orphaned processes from accumulating.