MCPcopy Create free account
hub / github.com/sindresorhus/execa / waitForSubprocessStdin

Function waitForSubprocessStdin

lib/convert/shared.js:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24export const waitForSubprocessStdin = async subprocessStdin => {
25 await finished(subprocessStdin, {cleanup: true, readable: false, writable: true});
26};
27
28export const waitForSubprocessStdout = async subprocessStdout => {
29 await finished(subprocessStdout, {cleanup: true, readable: true, writable: false});

Callers 2

onStdinFinishedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected