MCPcopy Index your code
hub / github.com/coder/mux / isPathLikeShell

Function isPathLikeShell

src/node/utils/main/resolveLocalPtyShell.ts:76–78  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

74}
75
76function isPathLikeShell(command: string): boolean {
77 return command.includes("/") || command.includes("\\");
78}
79
80/** Resolve the Windows fallback shell command: prefer COMSPEC when valid, otherwise cmd.exe. */
81function getWindowsFallbackCommand(

Callers 2

isCandidateAvailableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected