2025-04-28 08:17:52 -07:00
|
|
|
This tool executes a given shell command as `bash -c <command>`.
|
2025-04-27 18:57:10 -07:00
|
|
|
Command can be any valid single-line Bash command.
|
2025-04-28 08:17:52 -07:00
|
|
|
Command can start background processes using `&`.
|
2025-05-03 19:57:28 -07:00
|
|
|
Command is executed as a subprocess.
|
2025-04-28 08:17:52 -07:00
|
|
|
|
2025-04-27 18:57:10 -07:00
|
|
|
The following information is returned:
|
|
|
|
|
|
2025-04-28 08:17:52 -07:00
|
|
|
Command: Executed command.
|
|
|
|
|
Directory: Directory (relative to project root) where command was executed, or `(root)`.
|
2025-05-06 10:44:40 -07:00
|
|
|
Stdout: Output on stdout stream. Can be `(empty)` or partial on error and for any unwaited background processes.
|
|
|
|
|
Stderr: Output on stderr stream. Can be `(empty)` or partial on error and for any unwaited background processes.
|
2025-05-03 19:57:28 -07:00
|
|
|
Error: Error or `(none)` if no error was reported for the subprocess.
|
2025-04-27 18:57:10 -07:00
|
|
|
Exit Code: Exit code or `(none)` if terminated by signal.
|
|
|
|
|
Signal: Signal number or `(none)` if no signal was received.
|
|
|
|
|
Background PIDs: List of background processes started or `(none)`.
|