app: the job relaunch helper starts with CREATE_NO_WINDOW only (DETACHED_PROCESS exits powershell without a console, the OTA stall class)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
2edc5f693c
commit
65cb2e68b9
1 changed files with 1 additions and 1 deletions
|
|
@ -1737,7 +1737,7 @@ fn spawn_relaunch_helper(shared: &Arc<Shared>) -> Result<(), String> {
|
|||
#[cfg(windows)]
|
||||
{
|
||||
use std::os::windows::process::CommandExt;
|
||||
c.creation_flags(0x0800_0000 | 0x0000_0008);
|
||||
c.creation_flags(0x0800_0000); // CREATE_NO_WINDOW only, never DETACHED_PROCESS (powershell exits without a console)
|
||||
}
|
||||
shared.log("job: relaunch helper started; the app quits and opens again in about 10 s");
|
||||
c.spawn().map(|_| ()).map_err(|e| e.to_string())
|
||||
|
|
|
|||
Loading…
Reference in a new issue