We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't know if this is a feature or is as intended.
Thanks!
The text was updated successfully, but these errors were encountered:
fix: ppid search should use strict equal cond
3804857
fixes: UmbraEngineering/ps#5
No branches or pull requests
Don't know if this is a feature or is as intended.
Issue for ppid: 1, you get all parent processes that have the digit: "1" in them, eg: processes with ppid "12345" are selected as well.
ps.lookup({
command: 'cmd',
ppid: 1
}, function(err, res) {
if(err) {
console.log(err);
}
// more code ...
});
WORKAROUND: you can use a regex: ppid: "^1$" to get exact matches:
ps.lookup({
command: 'cmd',
ppid: "^1$"
}, function(err, res) {
if(err) {
console.log(err);
}
// more code ...
});
Thanks!
The text was updated successfully, but these errors were encountered: