mirror of
https://github.com/nushell/nushell.git
synced 2025-04-24 13:18:18 +02:00
fix: remove println!()
from exec
builtin (#5311)
This commit is contained in:
parent
8eab311565
commit
c20ba95885
@ -90,7 +90,6 @@ fn exec(
|
|||||||
let mut command = external_command.spawn_simple_command(&cwd.to_string_lossy().to_string())?;
|
let mut command = external_command.spawn_simple_command(&cwd.to_string_lossy().to_string())?;
|
||||||
command.current_dir(current_dir);
|
command.current_dir(current_dir);
|
||||||
|
|
||||||
println!("{:#?}", command);
|
|
||||||
let err = command.exec(); // this replaces our process, should not return
|
let err = command.exec(); // this replaces our process, should not return
|
||||||
|
|
||||||
Err(ShellError::GenericError(
|
Err(ShellError::GenericError(
|
||||||
|
Loading…
Reference in New Issue
Block a user