From fa9b04fa1f1b8f991fde9c877a7f5620ac2c19a0 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sun, 9 Jun 2024 18:29:29 +0200 Subject: [PATCH] JobObject is a unit struct, with no constructor --- lib/system/runner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/runner.rs b/lib/system/runner.rs index 868b0c7..9741f5b 100644 --- a/lib/system/runner.rs +++ b/lib/system/runner.rs @@ -87,7 +87,7 @@ where #[cfg(windows)] { - wrapper.wrap(JobObject::new()); + wrapper.wrap(JobObject); } let mut child_handle = wrapper.spawn()?;