HF RL Explorer

Task: Implement Subprocess Execution with Timeout Support

Task: Implement Subprocess Execution with Timeout Support: a task in Terminal-Lego-15k (Harbor dataset). Create a Python utility module that wraps the subprocess module to provide timeout functionality for running shell commands. The solution should be able to run arbitrary commands and kill…

The task

Create a Python utility module that wraps the `subprocess` module to provide timeout functionality for running shell commands. The solution should be able to run arbitrary commands and kill processes that exceed a specified timeout duration.

Part of PrimeIntellect/Terminal-Lego-15k.