process_visor library

Classes

ProcessVisor
A process supervisor that can start, stop, restart, and monitor an OS process.

Enums

ProcessStatus
The current status of the managed process.

Typedefs

LogRecord = ({bool isError, int? pid, String text})
A log record containing process output or internal messages.
LogWriter = void Function(LogRecord record)
A function that handles log records from the process or internal operations.
StartIndicator = bool Function(LogRecord record)
A function that determines when a starting process should be considered "running".