getProcessesSnapshotWin32
getProcessesSnapshotWin32<
O,R>(_options?):Promise<R[]>
Defined in: packages/app-system/src/os/get-processes-snapshot.ts:298
Not supported on Windows.
The POSIX implementation reads ps, which Windows has no equivalent of:
tasklist and WMI both report a different field set under different names,
so this would be a second implementation rather than a port. Until one
exists, the call fails loudly instead of returning a partial snapshot a
caller would read as complete.
Type Parameters
Section titled “Type Parameters”O extends GetProcessesSnapshotOptions = GetProcessesSnapshotOptions
R = O["fields"] extends never[] ? ProcessInfo : Pick<ProcessInfo, TupleToUnion<O["fields"]>>
Parameters
Section titled “Parameters”_options?
Section titled “_options?”O
Returns
Section titled “Returns”Promise<R[]>
Throws
Section titled “Throws”Always.