Execute a shell command directly on the host system.
Commands are executed directly on your host system using spawn()
with shell: true. There is NO sandboxing, isolation, or security
restrictions. The command runs with your user's full permissions.
The command is executed using the system shell with the working directory
set to the backend's rootDir. Stdout and stderr are combined into a single
output stream, with stderr lines prefixed with [stderr].
execute(command: string): Promise<ExecuteResponse>| Name | Type | Description |
|---|---|---|
command* | string | Shell command string to execute |