mcp.model.RunCommandArgs
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Arguments for running a command and waiting for it.
Members
-
The
%-prefixed pane to run in.
-
The command for the pane's trusted POSIX-compatible shell.
Shell reserved words and special builtins must retain their standard meanings. The command runs inside a subshell, so several lines are fine and a bare
exitdoes not end the pane's own shell. Invalid syntax is contained and completes with the shell's nonzero status. Valid inherited Bash and zshERRandDEBUGtraps remain visible to the command while the pane's parent-shell traps and options remain unchanged.
-
How long to allow, in seconds. Defaults to 30, capped at 600.
-
Whether to keep the command out of the shell's history.