Change run detach behavious tty mode