Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ExecNew to Visual Studio Code? Get it now.
Exec

Exec

Aaron Friel

|
200 installs
| (0) | Free
Provides a command for other extension hosts to use to execute remote commands.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

exec

Provides a simple command for extensions to target to run shell commands.

Features

Extensions can target this command from a UI host, such as a web extension, to run a task on the remote machine.

Example

await vscode.commands.executeCommand('exec.command', '/bin/bash -c "echo Hello, world!"');
await vscode.commands.executeCommand('exec.command', [
  '/bin/bash',
  '-c',
  'echo "Hello, world!"'
]);

Extension Settings

This extension contributes the following commands:

  • exec.command: Run a shell command on the remote machine.

Known Issues

Release Notes

0.0.1

Initial release!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft