We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e6b149 commit 1cfde74Copy full SHA for 1cfde74
rdagent/utils/env.py
@@ -213,7 +213,7 @@ def run_ret_code(
213
)
214
215
entry_add_timeout = (
216
- f"/bin/sh -c 'timeout {self.conf.running_timeout_period} {entry}; "
+ f"/bin/sh -c 'timeout --kill-after=10 {self.conf.running_timeout_period} {entry}; "
217
+ "entry_exit_code=$?; "
218
+ (f"chmod -R 777 {self.conf.mount_path}; " if hasattr(self.conf, "mount_path") else "")
219
+ "exit $entry_exit_code'"
0 commit comments