Skip to content

__nexus_process_alive__

builtin · libnexusinterp/corefcn/toplev-proprietary.cc

: tf = __nexus_process_alive__ (pid)

Return true when pid is a running process.

No command is started. On Windows this is OpenProcess and GetExitCodeProcess; elsewhere it is kill (pid, 0). A non-integer, a non-positive value, or a pid that does not exist is false. A process that exists but cannot be queried is true.