Set CWD in Popen for detached vessels.