MCPcopy Create free account
hub / github.com/apache/maka / waitForeverCommand

Function waitForeverCommand

packages/runtime/src/__tests__/shell-run-manager.test.ts:2892–2897  ·  view source on GitHub ↗
(ready = '')

Source from the content-addressed store, hash-verified

2890}
2891
2892function waitForeverCommand(ready = ''): string {
2893 return nodeCommand(`
2894 process.stdout.write(${JSON.stringify(ready)});
2895 setInterval(() => {}, 1000);
2896 `);
2897}
2898
2899function rawLineReaderCommand(input: { prompt?: string; label: string; lines: number }): string {
2900 return nodeCommand(`

Callers 1

Calls 1

nodeCommandFunction · 0.85

Tested by

no test coverage detected