minimal shell tool (#191)

This commit is contained in:
Olcan 2025-04-27 18:57:10 -07:00 committed by GitHub
parent 74dd7fca98
commit 6d32405d74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 155 additions and 22 deletions

View file

@ -1 +1,11 @@
This is a minimal shell tool.
This is a minimal shell tool that executes a given command as `bash -c <command>`.
Command can be any valid single-line Bash command.
The following information is returned:
Command: Given command.
Stdout: Output on stdout stream. Can be `(empty)` or partial on error.
Stderr: Output on stderr stream. Can be `(empty)` or partial on error.
Error: Error or `(none)` if no error occurred.
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)`.