Skip to content

Commit

Permalink
feat: add @echo on for windows(#1106)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Oct 10, 2024
1 parent e05ee4a commit b4d32b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,12 @@ impl Interpreter for NuShellInterpreter {

const CMDEXE_PREAMBLE: &str = r#"
@chcp 65001 > nul
@echo on
IF "%CONDA_BUILD%" == "" (
call ((script_path))
)
@rem re-enable echo because the activation scripts might have messed with it
@echo on
"#;

struct CmdExeInterpreter;
Expand Down

0 comments on commit b4d32b1

Please sign in to comment.