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