diff --git a/agent-node/VERSION b/agent-node/VERSION index 3fe3e58..0bfff3d 100644 --- a/agent-node/VERSION +++ b/agent-node/VERSION @@ -1 +1 @@ -1.1.24 +1.1.25 diff --git a/agent-node/src/agent_node/skills/shell_bridge.py b/agent-node/src/agent_node/skills/shell_bridge.py index d10e7ff..a65230b 100644 --- a/agent-node/src/agent_node/skills/shell_bridge.py +++ b/agent-node/src/agent_node/skills/shell_bridge.py @@ -370,10 +370,11 @@ f"echo [[1337;TaskEnd;id={tid};exit=%__ctx_err%]]\r\n" f"exit /b %__ctx_err%\r\n") # Store bat path on sess so we can delete it after task - return f"@call \"{task_path}\" & @del /Q \"{task_path}\"\r\n" + return f"cmd.exe /c \"{task_path}\" & @del /Q \"{task_path}\"\r\n" else: return f"printf \"\\033]1337;TaskStart;id={tid}\\007\"; {cmd}; __ctx_exit=$?; printf \"\\033]1337;TaskEnd;id={tid};exit=$__ctx_exit\\007\"\n" + def _get_timeout_output(self, sess): """Extracts Head/Tail output from the buffer file upon task timeout.""" try: