* Execute a command in the root of the instance's workspace directory.
(command: string)
| 571 | * Execute a command in the root of the instance's workspace directory. |
| 572 | */ |
| 573 | async exec(command: string): Promise<void> { |
| 574 | await util.promisify(cp.exec)(command, { |
| 575 | cwd: await this.workspaceDir, |
| 576 | }) |
| 577 | } |
| 578 | |
| 579 | /** |
| 580 | * Install an extension by ID to the instance's temporary extension |