Skip to content

conda run will clear the terminal output #679

@TanKimzeg

Description

@TanKimzeg

similar to #496

conda runscripts appear at:

--live-stream: This option ensures that the standard output (stdout) and standard error (stderr) of the executed program are not captured or buffered. Instead, the output is streamed live to the terminal as the program runs.

Even without the --live-stream flag, the terminal's previous output is automatically cleared – similar to executing a cls/clear command, which is inconvenient for users to compare results.

conda run  --live-stream -n base python -c "print('Hello')"
conda run -n base python -c "print('Hello')"

If the conda env is already activated , run

python foo.py

or

D:/Miniconda/envs/<env>/python.exe  foo.py

can avoid conda run.

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions