windows: Set CREATE_NO_WINDOW
for commands (#18447)
- Closes: #18371 Release Notes: - N/A
This commit is contained in:
parent
49ed932c1f
commit
95ace03706
31 changed files with 122 additions and 174 deletions
|
@ -292,7 +292,7 @@ impl Platform for WindowsPlatform {
|
|||
pid,
|
||||
app_path.display(),
|
||||
);
|
||||
let restart_process = std::process::Command::new("powershell.exe")
|
||||
let restart_process = util::command::new_std_command("powershell.exe")
|
||||
.arg("-command")
|
||||
.arg(script)
|
||||
.spawn();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue