-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a way to run conda run
w/o buffering stdout (and output in general)
#9412
Comments
conda run
w/o buffering stdoutconda run
w/o buffering stdout (and output in general)
Yes, this would be a big improvement. I've looked at ways to "tee" this output, but it ended up being too deep of a rabbit hole at the time. If you have any recommendations for how to achieve this, please let us know. |
conda-run also misses any way to handle stdin. IMHO a thread should be launched for all the IO. |
Does |
FWIW -- as a workaround, I've noticed that using "conda run -n my_env bash -c 'my_actual_command > /dev/tty 2>&1'" seems to work on Linux (and should work fine on any Posix system). |
For those who need something similar to an unbuffered version of "conda run": The new
|
Thank you for this update! It saved a lot of my time. |
Confirming this is addressed with the |
Currently
conda run
buffers everything going to stdout (I didn't test stderr). It would be great to be able to get streaming results from the running command rather than having to wait until the application exits.The text was updated successfully, but these errors were encountered: