diff --git a/DevTools/HackStudio/TerminalWrapper.cpp b/DevTools/HackStudio/TerminalWrapper.cpp index aad9241fc3..58444aa7ac 100644 --- a/DevTools/HackStudio/TerminalWrapper.cpp +++ b/DevTools/HackStudio/TerminalWrapper.cpp @@ -104,6 +104,8 @@ void TerminalWrapper::run_command(const String& command) exit(1); } + tcsetpgrp(pts_fd, getpid()); + // NOTE: It's okay if this fails. (void)ioctl(0, TIOCNOTTY);