fix: windows builds

This commit is contained in:
DecDuck
2025-05-10 16:41:37 +10:00
parent e75e0044fb
commit 4b4c0734ec

View File

@ -266,6 +266,9 @@ impl ProcessManager<'_> {
.map_err(|e| ProcessError::FormatError(e.to_string()))?
.to_string();
#[cfg(target_os = "windows")]
use std::os::windows::process::CommandExt;
#[cfg(target_os = "windows")]
let mut command = Command::new("cmd");
#[cfg(target_os = "windows")]