2025-04-28 23:17:52 +08:00
|
|
|
This tool executes a given shell command as `bash -c <command>`.
|
|
|
|
|
Command can start background processes using `&`.
|
2025-05-07 14:38:36 +08:00
|
|
|
Command itself is executed as a subprocess.
|
2025-04-28 23:17:52 +08:00
|
|
|
|
2025-04-28 09:57:10 +08:00
|
|
|
The following information is returned:
|
|
|
|
|
|
2025-04-28 23:17:52 +08:00
|
|
|
Command: Executed command.
|
|
|
|
|
Directory: Directory (relative to project root) where command was executed, or `(root)`.
|
2025-05-07 01:44:40 +08: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-04 10:57:28 +08:00
|
|
|
Error: Error or `(none)` if no error was reported for the subprocess.
|
2025-04-28 09:57:10 +08: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)`.
|