mirror of
https://github.com/nushell/nushell.git
synced 2025-02-17 02:50:56 +01:00
fix windows clippy
This commit is contained in:
parent
d7bd6896cf
commit
c0913330d9
@ -126,6 +126,7 @@ impl ExternalCommand {
|
|||||||
let ctrlc = engine_state.ctrlc.clone();
|
let ctrlc = engine_state.ctrlc.clone();
|
||||||
|
|
||||||
let mut process = self.create_process(&input, false, head)?;
|
let mut process = self.create_process(&input, false, head)?;
|
||||||
|
prepare_to_foreground(&mut process);
|
||||||
let child;
|
let child;
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
@ -143,7 +144,6 @@ impl ExternalCommand {
|
|||||||
|
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
{
|
{
|
||||||
prepare_to_foreground(&mut process);
|
|
||||||
child = process.spawn()
|
child = process.spawn()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user