Closed sparty02 closed 7 years ago
Yes, would be nice to detect this case and present and interactive prompt of whether you want to force kill it or just exit. Pull request welcome :)
"Error killing process. Would you like to use the force?" beautiful! Thanks!
I just tried out fkill and the first process I tried to kill resulted in an error... :smiley_cat: In this particular case, I was trying to kill a process that apparently needed to be "terminated forcefully" (see the output below). Maybe in these cases, fkill presents a secondary challenge to the terminal like "Are you sure you want to kill this process?" and then forcefully terminate upon yes, or cancel upon no. Or maybe you don't want to allow the ability to forcefully terminate, in which a friendlier error message would probably suffice.
Just wanted to highlight the issue!
P.S. for what its worth, I'm on Windows 7, currently using a git-bash flavored shell, node 6.2.1.