Closed yeputons closed 9 years ago
Please note that if callback support is added, it will be a good plan to add error handling as well (for example, if ps
or taskkill
fails with non-zero exit code)
Closing this because the original issue (callback support) has been added.
Error handling should be a separate issue. I'm not exactly sure how to handle that right now.
Right now you have no information about when actually all processes were killed: if
taskkill
/ps
took time, there is no chance for user to know about it. Function is neither sync, nor calls callback.