process_io library

Process-control primitives that depend on dart:io + dart:ffi + package:win32 and therefore do not work on the web. Import this in addition to package:serverpod_shared/serverpod_shared.dart when you need isProcessAlive / readProcessExecutable.

Kept out of the main barrel so dart2js / dart2wasm consumers (e.g. browser code transitively reaching us via serverpod_service_client) don't pull package:win32's external Pointer<...> types into the compile graph.

Functions

isProcessAlive(int pid) bool
Whether pid currently refers to a live process on this host.
readProcessExecutable(int pid) String?
Absolute path to the executable image of the process at pid, or null when the process is gone, inaccessible, or the host has no cheap way to resolve it.