Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fleet exec closes too early #31

Open
Raynos opened this Issue Aug 1, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Raynos commented Aug 1, 2012

em.on('exit', function (code, sig, proc) {
    if (procs[proc.drone] !== proc.id) return;
    console.log('(' + proc.drone + '#' + proc.id + ' exited)');
    p.hub.close();
});

It closes the hub once ONE of the drones tells it that it's done. This kills the logging for the other drones that are not finished yet.

The other drones appear to run their command they just don't report the stdout of that command back to me.

simplej commented Jul 13, 2013

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment