Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

mcp.model.RunCommandArgs

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

struct mcp.model.RunCommandArgs
struct [source]
struct [source]
struct mcp.model.RunCommandArgs

Arguments for running a command and waiting for it.

Members

pane

pane : String
attribute [source]
attribute [source]
pane

The %-prefixed pane to run in.

command

command : String
attribute [source]
attribute [source]
command

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 exit does not end the pane's own shell. Invalid syntax is contained and completes with the shell's nonzero status. Valid inherited Bash and zsh ERR and DEBUG traps remain visible to the command while the pane's parent-shell traps and options remain unchanged.

seconds

seconds : Option<u64>
attribute [source]
attribute [source]
seconds

How long to allow, in seconds. Defaults to 30, capped at 600.

suppress_history

suppress_history : bool
attribute [source]
attribute [source]
suppress_history

Whether to keep the command out of the shell's history.

Esc

Type to search.