Sign in
chromium
/
v8
/
node
/
refs/tags/v2.3.1
/
.
/
test
/
fixtures
/
child_process_should_emit_error.js
blob: 9f7b2bb80ffcbb4addac0f811111138acd3f959e [
file
] [
log
] [
blame
]
var
exec
=
require
(
'child_process'
).
exec
;
[
0
,
1
].
forEach
(
function
(
i
)
{
exec
(
'ls'
,
function
(
err
,
stdout
,
stderr
)
{
console
.
log
(
i
);
throw
new
Error
(
'hello world'
);
});
});