execute-bash-script-async
Execute bash scripts asynchronously to run multiple commands in parallel, reducing waiting time and improving efficiency. Set environment variables, specify working directories, and manage output modes for optimized script execution in a secure Docker container environment.
Instructions
This tool executes shell scripts asynchronously in bash. Executing each command creates a new bash process. Synchronous execution requires to wait the scripts completed. Asynchronous execution makes it possible to execute multiple scripts in parallel. You can reduce waiting time by planning in advance which shell scripts need to be executed and executing them in parallel. Avoid using execute-bash-script-sync tool unless you really need to, and use this execute-bash-script-async tool whenever possible.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The bash script to execute | |
options | Yes |