Hi everyone, I’ve recently upgraded my prefect version from 2.8.6 to 2.10.12. Now prefect no longer captures the logs from my tasks that run prefect-shell. Does anyone know a fix for this?
✅ 1
j
Jake Kaplan
06/06/2023, 1:02 PM
hey! do you have a reproduction of this that works on 2.8.6 but fails on 2.10.12?
s
Shane Breeze
06/06/2023, 2:09 PM
I think I’ve managed to find a working solution to my problem. I was effectively doing this:
Copy code
from prefect_shell import ShellOperation
...
with ShellOperation(commands=commands) as shell:
proc = shell.trigger()
proc.wait_for_completion()
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.