https://prefect.io logo
#prefect-server
Title
# prefect-server
c

Christian Nuss

06/09/2022, 7:53 PM
Hey there! Quick question! We're doing a ShellTask with • return_all=False, • stream_output=True, • log_stderr=True, inside the ShellTask, the command is a pipe operation,
command1 | command2
.
command1
exits with a non-zero code, how do i get the ShellTask to also fail?
1
k

Kevin Kho

06/09/2022, 8:04 PM
I think this is specific to shell behavior like this ?
c

Christian Nuss

06/09/2022, 8:31 PM
ah pipefail yes, thank you!
5 Views