nested-pipe-file.js
This file
Path
test/fixtures/nested-pipe-file.js
15 lines · 371 bytes · JavaScript
Last changed by
Refactor test helpers for the `verbose` option (#1128)ehmickybefore adoption18d320f
History of this fileTake it
12345678910111213141516#!/usr/bin/env nodeimport {execa, getOneMessage} from '../../index.js';
const { file, commandArguments = [], options: { sourceOptions = {}, destinationFile, destinationArguments = [], destinationOptions = {}, },} = await getOneMessage();await execa(file, commandArguments, sourceOptions) .pipe(destinationFile, destinationArguments, destinationOptions);