HF RL Explorer

BashTool: error code Always 0 for Failing Commands

BashTool: error code Always 0 for Failing Commands: a task in LegoFlow-SWE (Harbor dataset). When using the BashTool to execute shell commands, the error code field in the result is always 0 , even for commands that should fail (e.g., executing a non-existent command like invalid command 123 )…

The task

When using the BashTool to execute shell commands, the `error_code` field in the result is always `0`, even for commands that should fail (e.g., executing a non-existent command like `invalid_command_123`). The error code should reflect the actual exit status of the command that was run.

Part of Lego-X/LegoFlow-SWE.