You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BREAKING CHANGE: win-2025 uses `pwsh` to obtain process list tree instead of `wmic`
* chore: up dev deps
* ci: separate build and test, add win-2025 to test matrix
* chore: up dev deps
* refactor: recompose internal parsing flow
* feat: support win2025
* test: update tests
* chore: debug
* docs: update internals description
Copy file name to clipboardExpand all lines: README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,21 @@
8
8
*[x]`table-parser` replaced with `@webpod/ingrid` to handle some issues: [neekey/ps#76](https://github.com/neekey/ps/issues/76), [neekey/ps#62](https://github.com/neekey/ps/issues/62), [neekey/table-parser#11](https://github.com/neekey/table-parser/issues/11), [neekey/table-parser#18](https://github.com/neekey/table-parser/issues/18)
9
9
*[x] Provides promisified responses
10
10
*[x] Brings sync API
11
-
*[x] Builds a process tree
11
+
*[x] Builds a process subtree by parent
12
12
13
13
## Install
14
14
```bash
15
15
$ npm install @webpod/ps
16
16
```
17
17
18
18
## Internals
19
-
This module invokes different tools to get process list:
19
+
This module uses different approaches for getting process list:
20
20
21
-
*`ps` for unix/mac: `ps -lx`
22
-
*[`wmic` for win runtimes](https://learn.microsoft.com/en-us/windows/win32/wmisdk/wmic): `wmic process get ProcessId,CommandLine`.
0 commit comments