UNPKG
yunlongzha_try_nodejs
Version:
latest (1.0.0)
1.0.0
try it
yunlongzha_try_nodejs
/
textsubmit
/
node_modules
/
npm
/
test
/
packages
/
npm-test-array-bin
/
test.js
6 lines
(5 loc)
•
176 B
JavaScript
View Raw
1
2
3
4
5
6
require
(
'child_process'
).
exec
(
'array-bin'
, {
env
: process.
env
},
function
(
err
) {
if
(err && err.
code
)
throw
new
Error
(
'exited badly with code = '
+ err.
code
) } )