mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
minimal shell tool (#191)
This commit is contained in:
parent
74dd7fca98
commit
6d32405d74
3 changed files with 155 additions and 22 deletions
|
|
@ -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)`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue