Skip to content

Commit cc8f6b3

Browse files
committed
fix: settle only on 'close', not 'exit'
fix #123
1 parent 9510327 commit cc8f6b3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ export function promisifyChildProcess(
137137
}
138138
}
139139
child.on('close', done)
140-
child.on('exit', done)
141140
}
142141
)
143142
return (Object.create(child, {

0 commit comments

Comments
 (0)