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 db95b51 point at it.
Fix calling `.kill()` many times (#768)ehmickybefore adoptiondb95b51
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';Fix calling `.kill()` many times (#768)ehmickybefore adoptiondb95b51
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'});