úÎÔ~Safe”Run the given command with specified arguments, with optional environment variable override (default is to use the current process's environment)..ÿJThis 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.gThis function will never exit: it will always terminate your process, unless some exception is thrown.7Run as a child with signal handling and orphan reaping.eConvert a ProcessStatus to an ExitCode. In the case of a signal being the cause of termination, see .NFollow the convention of converting a signal into an exit code by adding 128.command to runcommand line arguments>optional environment variable override, default is current env#pid1-0.1.0.0-1E8Wn5CST6h62vVcVjDfimSystem.Process.PID1run runAsPID1 toExitCode signalToECreapkillAllChildren