tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

Stopping two processes at once results in one process stopping and an error message #37

Closed achingbrain closed 9 years ago

achingbrain commented 9 years ago
PID  User Group Name                     Uptime        Restarts CPU  RSS    Heap size Heap used Status  Type    
?    alex staff http-server.js           ?             0        ?    ?      ?         ?         stopped Process 
990  alex staff talky.js                 a few seconds 0        0.00 29.4MB 16.2MB    8.9MB     running Process 
1004 alex staff intermittently-crashy.js a few seconds 1        0.00 28.9MB 16.2MB    7.5MB     running Process 
Alexs-MBP:boss-cli alex$ bs stop talky.js intermittently-crashy.js
error: Callback was already called.
Alexs-MBP:boss-cli alex$ bs list
PID  User Group Name                     Uptime        Restarts CPU  RSS    Heap size Heap used Status  Type    
?    alex staff http-server.js           ?             0        ?    ?      ?         ?         stopped Process 
?    alex staff talky.js                 ?             0        ?    ?      ?         ?         stopped Process 
1013 alex staff intermittently-crashy.js a few seconds 2        0.00 29.3MB 16.2MB    7.8MB     running Process