MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / looksInteractiveShellArgs

Function looksInteractiveShellArgs

frontend/app/view/term/shellblocking.ts:38–46  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

36];
37
38function looksInteractiveShellArgs(args: string[]): boolean {
39 return (
40 args.length === 0 ||
41 args.includes("-i") ||
42 args.includes("--login") ||
43 args.includes("-l") ||
44 args.includes("-s")
45 );
46}
47
48function isNonInteractiveShellExec(args: string[]): boolean {
49 return (

Callers 1

getBlockingCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected