From 01c0b82ef4f38df297e4aba8d741b79d529e42aa Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Mon, 1 Aug 2022 19:43:35 +0800 Subject: [PATCH] fix windows --- crates/nu-system/src/foreground.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-system/src/foreground.rs b/crates/nu-system/src/foreground.rs index 00c3ecab2..ac859783c 100644 --- a/crates/nu-system/src/foreground.rs +++ b/crates/nu-system/src/foreground.rs @@ -43,11 +43,11 @@ pub mod external_process_setup { // TODO: investigate if we can set foreground process through windows system call. #[cfg(target_family = "windows")] -mod external_process_setup { +pub mod external_process_setup { pub fn setup_fg_external(external_command: &mut std::process::Command) {} - pub fn set_foreground(process: &std::process::Child) -> i32 {} + pub fn set_foreground(process: &std::process::Child) {} pub fn reset_foreground_id() {} }