Commit d07e7d2a authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Oswald Buddenhagen
Browse files

Fix running applications in non-xterm terminals

Setting Tools/Options/Environment/General/Terminal to one of the
following works now as expected.

  1. xterm -e
  2. aterm -e
  3. rxvt -e
  4. urxvt -e
  5. xfce4-terminal -x
  6. konsole --nofork -e
  7. gnome-terminal -x

Without the '--nofork' option for konsole, from creator's pov, the
terminal emulator will finish immediately and therefore creator closes
the local socket. As a result of this, the user is presented with sth.
like this (from the stub):

    Cannot connect creator comm socket /tmp/qt_temp.A13523/stub-socket:
    No such file or directory.

Task-Number: QTCREATORBUG-1633
Change-Id: I732e20d34aebdc1591355e0c4e78c907f439924c
Reviewed-by: default avatarOswald Buddenhagen <>
parent 8ed9720c
......@@ -154,6 +154,12 @@ int main(int argc, char *argv[])
env[count] = 0;
/* Ignore SIGTTOU. Without this, calling tcsetpgrp() from a background
* process group (in which we will be, once as child and once as parent)
* generates the mentioned signal and stops the concerned process. */
/* Create execution result notification pipe. */
if (pipe(chldPipe)) {
perror("Cannot create status pipe");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment