MCPcopy Index your code
hub / github.com/coder/code-server / exec

Method exec

test/e2e/models/CodeServer.ts:573–577  ·  view source on GitHub ↗

* Execute a command in the root of the instance's workspace directory.

(command: string)

Source from the content-addressed store, hash-verified

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

Callers 1

github.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected