#13070·prefect

如果返回码 != 0,则在 ShellProcess 中将 stderr 添加到异常对象中

作者: davert0创建于 2023年7月17日更新于 2026年9月27日

期望/建议

目前 ShellProcess 类和 shell_run_command 函数之间存在行为上的差异。在 shell_run_command 函数中,如果进程以非零退出码结束,则返回以下的 stderr:

内容来源: PrefectHQ/prefect