nested-multiple-stdin.js
This file
Path
test/fixtures/nested-multiple-stdin.js
10 lines · 459 bytes · JavaScript
Last changed by
Add support for `std*: ['pipe', 'inherit']` with `execaSync()` (#954)ehmickybefore adoptionc15edbc
History of this fileTake it
The walk stopped after 200 commits: lines older than 7122767 point at it.
Use `async/await` instead of direct `Promise` manipulation (#659)ehmickybefore adoption7122767
lines 1–2why, one step back1#!/usr/bin/env node2import process from 'node:process';Add support for `std*: ['pipe', 'inherit']` with `execaSync()` (#954)ehmickybefore adoptionc15edbc
line 3why, one step back3import {execa, execaSync} from '../../index.js';Improve test helpers (#910)ehmickybefore adoptiona29352f
line 4why, one step back4import {foobarString} from '../helpers/input.js';Add support for `std*: ['pipe', 'inherit']` with `execaSync()` (#954)ehmickybefore adoptionc15edbc
line 5why, one step back5import {parseStdioOption} from '../helpers/stdio.js';Use `async/await` instead of direct `Promise` manipulation (#659)ehmickybefore adoption7122767
line 6why, one step back6Add support for `std*: ['pipe', 'inherit']` with `execaSync()` (#954)ehmickybefore adoptionc15edbc
lines 7–10why, one step back7const [stdioOption, isSyncString] = process.argv.slice(2);8const stdin = parseStdioOption(stdioOption);9const execaMethod = isSyncString === 'true' ? execaSync : execa;10await execaMethod('stdin.js', {input: foobarString, stdin, stdout: 'inherit'});