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

Function parseAndRunCommand

test/methods/command.js:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15const ECHO_FIXTURE_URL = new URL('echo.js', FIXTURES_DIRECTORY_URL);
16
17const parseAndRunCommand = command => execa`${parseCommandString(command)}`;
18
19test('parseCommandString() + execa()', async t => {
20 const {stdout} = await execa('echo.js', parseCommandString('foo bar'));

Callers

nothing calls this directly

Calls 1

parseCommandStringFunction · 0.90

Tested by

no test coverage detected