MCPcopy Index your code
hub / github.com/callstack/agent-device / closeLinuxApp

Function closeLinuxApp

src/platforms/linux/app-lifecycle.ts:20–22  ·  view source on GitHub ↗
(app: string)

Source from the content-addressed store, hash-verified

18 * Uses wmctrl if available, falls back to pkill.
19 */
20export async function closeLinuxApp(app: string): Promise<void> {
21 await resolveLinuxToolProvider().desktop.closeApp(app);
22}
23
24/**
25 * Send Alt+Left arrow to go back (standard browser/app back navigation).

Callers 1

createLinuxInteractorFunction · 0.90

Calls 1

resolveLinuxToolProviderFunction · 0.90

Tested by

no test coverage detected