uniq_pid_midwife starts a given program, while creating an
artifact of the program's birth. At a later time the
uniq_pid_undertaker can examine the artifact to determine
whether the program is still running or whether it has exited.
uniq_pid_midwife
accomplishes this by recording an enforced unique process identifier to
the artifact.
The filename to use for the artifact file. Defaults to
pid.file.
- -precision seconds
The precision the operating system is expected to have in regards
to process creation times. Defaults to an operating system specific
value. The default is the best choice in most cases.
- -noblock
Exit after the program has been confirmed, typically 3 times the
precision. Defaults to block until the program exits.
program [programargs]
Forks a process and executes program with
programargs as command-line arguments (when specified).