Open
Description
openedon Jul 19, 2023
I tried this code:
#![windows_subsystem = "windows"]
use std::process;
fn main() {
process::Command::new("notepad.exe").spawn().unwrap();
}
I expected to see this happen:
Setting #![windows_subsystem = "windows"], processes will not be spawned under Windows server 2008 SYSTEM privileges.
Meta
rustc --version --verbose
:
rustc 1.70.0 (90c541806 2023-05-31)
binary: rustc
commit-hash: 90c541806f23a127002de5b4038be731ba1458ca
commit-date: 2023-05-31
host: x86_64-pc-windows-msvc
release: 1.70.0
LLVM version: 16.0.2
Backtrace
Because of the specification of #![windows_subsystem = "windows"], so I can't see the backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment