No such process found!
See original GitHub issueFollowing the code:
let childWorker = cp.fork(`${__dirname}/../somefile`);
console.log(childWorker.pid);
// 12345
ps.lookup({ pid: childWorker.pid }, (err, resultList) => {
console.log(resultList);
// []
});
Why it didn’t work? I also randomly picked pid from ps -A
and it still didn’t work.
Issue Analytics
- State:
- Created 8 years ago
- Comments:33 (9 by maintainers)
Top Results From Across the Web
"No such process" when trying to kill a running python script
I got the following output: bioseq 24739 0.0 0.0 112884 1200 pts/1 R+ 13:20 0:00 grep --color=auto /script.py , and then typed: kill...
Read more >linux - kill - no process found - Super User
killall expects a process name, e.g. killall signals which kills all such processes. Otherwise you should use the process id (which you ...
Read more >ps finds process, kill doesn't [duplicate] - Unix Stack Exchange
I know a reboot will solve this (or a bit of patience even). But I'm just curious as to why there is such...
Read more >Not able to kill process by "kill -9 <PID>" [duplicate] - Ask Ubuntu
But when I'm trying to kill it, by using sudo kill -9 10690 I receive: kill: (10690): There is no such process. process...
Read more >warning: failed to kill 30449: No such process - Odoo
I have script that runs OpenERP server, but I seems to be not working on new server for some reason (I use same...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry guys! I’m back! I just rewrite table-parser with connected-domain, and I create a new branch of PS using the latest version of table-parser.
The parser problem should be fixed, but I need you to help me test with it, install it through github:
@yetzt your PR is included
@PaulTerryGameDev I haven’t got a chance to try win 10, can you open a new issue for it?
Or just use sindre sorhus’ package which works: https://github.com/sindresorhus/ps-list
I’m all for alternatives, but this code has been broken since I first tried it 6 months ago. You should make a note in the readme that it doesn’t work so people don’t keep wasting time, until if/when it is fixed.