cli: accept /dev/stdin as input file on Linux
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
cli
As mentioned above, tests will be added but for now, test it on Linux (macOS is OK) like this which with current version is broken:
make && echo "console.log(process.argv[2])" | ./node /dev/stdin --option-for-stdin-script