Module platform

Module platform 

Source

Enums§

ProcessSignal
Process signals (cross-platform abstraction)

Functions§

get_process_cmdline
Get the command line of a running process
get_process_name
Get the executable name/path of a running process
is_process_type
Check if a process is of a specific type (e.g., “node”, “python”, “java”)
make_executable
Make a file executable (Unix only, no-op on Windows)
process_exists
Check if a process with the given PID exists
signal_process
Signal a process (Unix: actual signals, Windows: graceful alternatives)