Comments (4)
Sure. PR welcome for an option for this.
from fkill.
I have used this as workaround:
function tryKill(proc){
return new Promise(function(resolve, reject){
proc += process.platform == 'win32' ? '.exe' : '';
fkill(proc, { force: true })
.then(() => {
console.log(proc, "killed");
resolve();
})
.catch((err) => {
console.log("Unable to kill", proc, err);
resolve();
})
})
}
from fkill.
@IssueHunt has funded $30.00 to this issue. See it on IssueHunt
from fkill.
@sindresorhus has rewarded $27.00 to @medusalix. See it on IssueHunt
- 💰 Total deposit: $30.00
- 🎉 Repository reward(0%): $0.00
- 🔧 Service fee(10%): $3.00
from fkill.
Related Issues (20)
- Is there any change to optimize the processing time? HOT 12
- Error: Killing process processName failed: spawn killall ENOENT HOT 3
- Add Ethereum name or address to package.json HOT 2
- pkill: illegal option -- 9 HOT 2
- Invalid regular expression HOT 1
- Add `forceTimeout` option HOT 1
- Windows - fkill error if process started with /min flag HOT 5
- Global install HOT 1
- Confirm processes are no longer visible before returning
- Don't kill `fkill` when killing `node.exe`
- Silent option is in the code, but not registered as an option in index.d.ts
- Mac ignoreCase causes error
- Fkill not installed properly with npm HOT 1
- CommonJS support - include index.cjs HOT 1
- Cannot install on Zorin 16 (Ubuntu 20.04. 2 LTS) HOT 1
- Cannot find module node:process HOT 1
- SIGINT support
- Unexpected behavior because of pkill on macOS HOT 1
- Question: There is some option to customize how many entries are displayed at the same time? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fkill.