Îõ³h& ë †      Safe-Inferred fpid1Holder for pid1 run optionspid1return default pid11Get environment variable overrides for the given pid11Set environment variable overrides for the given pid1Get the process  user for the given pid1Set the process  user for the given pid1Get the process  group for the given pid1Set the process  group for the given pid10Get the process current directory for the given  pid10Set the process current directory for the given  pid1†Return the timeout (in seconds) timeout (in seconds) to wait for all child processes to exit after receiving SIGTERM or SIGINT signal pid1ƒSet the timeout in seconds for the process reaper to wait for all child processes to exit after receiving SIGTERM or SIGINT signal pid1“Run the given command with specified arguments, with optional environment variable override (default is to use the current process's environment).ÊThis function will check if the current process has a process ID of 1. If it does, it will install signal handlers for SIGTERM and SIGINT, set up a loop to reap all orphans, spawn a child process, and when that child dies, kill all other processes (first with a SIGTERM and then a SIGKILL) and exit with the child's exit code.1If this process is not PID1, then it will simply exec the given command.çThis function will never exit: it will always terminate your process, unless some exception is thrown. pid1 Variant of  ³ that runs a command, with optional environment posix user/group and working directory (default is to use the current process's user, group, environment, and current directory).pid17Run as a child with signal handling and orphan reaping.pid1åConvert a ProcessStatus to an ExitCode. In the case of a signal being the cause of termination, see .pid1ÎFollow the convention of converting a signal into an exit code by adding 128. pid1command to runpid1command line argumentspid1>optional environment variable override, default is current env pid1 run optionspid1command to runpid1command line arguments          #pid1-0.1.3.1-A3L3x7TFdoE9YR7gsEDTeRSystem.Process.PID1 RunOptionsdefaultRunOptions getRunEnv setRunEnv getRunUser setRunUser getRunGroup setRunGroup getRunWorkDir setRunWorkDirgetRunExitTimeoutSecsetRunExitTimeoutSecrunrunWithOptions$fShowRunOptions unix-2.7.2.2System.Posix.User setUserID setGroupID runAsPID1 toExitCode signalToEC