zentrick / cross-spawn-promise

Promisified cross-spawn.
MIT License
25 stars 7 forks source link

attach `childProcess` to returned promise #43

Closed laggingreflex closed 8 years ago

laggingreflex commented 8 years ago

Lets you access the childProcess

const promise = spawn(...)
const {childProcess: cp} = promise
cp.stdout.pipe(...)
promise.then(...)

Better solution to #39 than #42

AppVeyorBot commented 8 years ago

:x: Build cross-spawn-promise 108 failed (commit https://github.com/zentrick/cross-spawn-promise/commit/3b095cc69e by @laggingreflex)

AppVeyorBot commented 8 years ago

:x: Build cross-spawn-promise 114 failed (commit https://github.com/zentrick/cross-spawn-promise/commit/9578df4b7d by @laggingreflex)

timdp commented 8 years ago

Thanks! :+1:

I'll hold off on releasing a new version until we've merged your other improvements as well. I might also finally add some tests.