toolkit/packages/exec/__tests__/scripts/wait-for-input.js
Seth Vargo c4b6011310
Allow specifying stdin (#360)
* Allow specifying stdin
2020-04-13 13:39:42 -04:00

4 lines
89 B
JavaScript
Executable File

var fs = require('fs')
var data = fs.readFileSync(0, 'utf-8')
process.stdout.write(data)