(create_process): Add DONT_OPEN_PTY conditional.