Hi everyone. I use `ShellOperation` in some of my ...
# ask-community
g
Hi everyone. I use
ShellOperation
in some of my Prefect task for long running processes. Is there a way to see the output of such process while it’s still running? Currently the output only shows in Prefect logs after the process has finished.
yep you can use
stream_output=True
which should be on by default - looks like it should already streamed as an INFO level log
g
Thanks, Nate. It should indeed be on by default, but I’ll add it just to be sure. The output does end up in the log, but not until the process is finished. Which is troublesome with long running processes as I can’t see their progress.
n
hmm i think our use of
stream
in
stream_output
is misleading - i'll make an issue about this