Fixed "process launch --tty" on MacOSX.