This also adds a new user_cmnd_dir variable that stores the canonicalized parent directory of the command to be run.