Consistent daemonized pid, symlink relative path handling
Consistent daemonized pid, symlink relative path handling

When daemonizing, change to the root directory before creating the pid
file and pty symlinks in order to allow cleanup of relative files and
links, without holding open the original working directory.
Unfortunately this requires full path names for files and links when
using the -d option.

markshroyer/nulltty,markshroyer/nulltty