Skip to content
Myr

stdin-script.js

This file

Path

test/fixtures/stdin-script.js

5 lines · 178 bytes · JavaScript

Last changed by

Fix default value of `stdin` with `$` (#550)ehmickybefore adoption6fe7e51

History of this file

Take it

Fix default value of `stdin` with `$` (#550)ehmickybefore adoption6fe7e51

lines 1–5why, one step back
1#!/usr/bin/env node
2import {$} from '../../index.js';3import {FIXTURES_DIR} from '../helpers/fixtures-dir.js';45await $({stdout: 'inherit'})`node ${`${FIXTURES_DIR}/stdin.js`}`;