diff options
Diffstat (limited to 'docs/tools/shell.md')
| -rw-r--r-- | docs/tools/shell.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/tools/shell.md b/docs/tools/shell.md index 5b8e8c9d..3c14c657 100644 --- a/docs/tools/shell.md +++ b/docs/tools/shell.md @@ -38,3 +38,4 @@ This document provides details on the shell tool. - **Security:** Be cautious when executing commands, especially those constructed from user input, to prevent security vulnerabilities. - **Interactive Commands:** Avoid commands that require interactive user input, as this can cause the tool to hang. Use non-interactive flags if available (e.g., `npm init -y`). - **Error Handling:** Check the `Stderr`, `Error`, and `Exit Code` fields to determine if a command executed successfully. + - **Background Processes:** When a command is run in the background with `&`, the tool will return immediately and the process will continue to run in the background. The `Background PIDs` field will contain the process ID of the background process. |
