pub struct RunInTerminalRequestArguments {
pub kind: Option<RunInTerminalRequestArgumentsKind>,
pub title: Option<String>,
pub cwd: String,
pub args: Vec<String>,
pub env: Option<Value>,
pub args_can_be_interpreted_by_shell: Option<bool>,
}
Expand description
Arguments for runInTerminal
request.
Fields§
§kind: Option<RunInTerminalRequestArgumentsKind>
What kind of terminal to launch. Defaults to integrated
if not specified.
title: Option<String>
Title of the terminal.
cwd: String
Working directory for the command. For non-empty, valid paths this typically results in execution of a change directory command.
args: Vec<String>
List of arguments. The first argument is the command to run.
env: Option<Value>
Environment key-value pairs that are added to or removed from the default environment.
args_can_be_interpreted_by_shell: Option<bool>
This property should only be set if the corresponding capability supportsArgsCanBeInterpretedByShell
is true. If the client uses an intermediary shell to launch the application, then the client must not attempt to escape characters with special meanings for the shell. The user is fully responsible for escaping as needed and that arguments using special characters may not be portable across shells.
Trait Implementations§
Source§impl Clone for RunInTerminalRequestArguments
impl Clone for RunInTerminalRequestArguments
Source§fn clone(&self) -> RunInTerminalRequestArguments
fn clone(&self) -> RunInTerminalRequestArguments
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more