MCPcopy Create free account
hub / github.com/Noumena-Network/code / shellQuote

Function shellQuote

src/testing/tmuxHarness.ts:226–228  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

224}
225
226export function shellQuote(value: string): string {
227 return `'${value.replaceAll(`'`, `'\"'\"'`)}'`
228}
229
230function delay(ms: number): Promise<void> {
231 return new Promise(resolve => {

Callers 4

writeEnvLaunchScriptFunction · 0.70
createFixtureFunction · 0.70
attachTmuxClientFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected