{"thread":{"id":"14705","subject":"Running git gui on Windows.","startedAt":"2008-07-27T13:48:34Z","lastAt":"2008-07-27T15:02:44Z","messageCount":3,"participants":["Jurko Gospodnetić","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"85169","messageId":"g6hubi$8op$1@ger.gmane.org","threadId":"14705","inReplyTo":null,"subject":"Running git gui on Windows.","fromName":"Jurko Gospodnetić","fromEmail":"jurko.gospodnetic@docte.hr","sentAt":"2008-07-27T13:48:34Z","receivedAt":"2008-07-27T13:48:34Z","isPatch":false,"sender":{"key":"jurko.gospodnetic@docte.hr","avatar":null},"body":"   Hi.\n\n   Is there a way to run git gui on Windows so it does not block the \ncalling process?\n\n   For example, when I run 'git gui' from the Windows Command Prompt, I \nwould like to be able to continue using that same command prompt and not \nhave it blocked until I exit the started git gui process.\n\n   I am using msysgit on Windows XP SP3 and 'git --version' states 'git \nversion 1.5.6.1.1071.g76fb'.\n\n   Many thanks.\n\n   Best regards,\n     Jurko Gospodnetić\n"},{"id":"85170","messageId":"g6huoj$9rh$1@ger.gmane.org","threadId":"14705","inReplyTo":"g6hubi$8op$1@ger.gmane.org","subject":"Re: Running git gui on Windows.","fromName":"Jurko Gospodnetić","fromEmail":"jurko.gospodnetic@docte.hr","sentAt":"2008-07-27T13:55:31Z","receivedAt":"2008-07-27T13:55:31Z","isPatch":false,"sender":{"key":"jurko.gospodnetic@docte.hr","avatar":null},"body":"   Hi.\n\n>   Is there a way to run git gui on Windows so it does not block the \n> calling process?\n> \n>   For example, when I run 'git gui' from the Windows Command Prompt, I \n> would like to be able to continue using that same command prompt and not \n> have it blocked until I exit the started git gui process.\n> \n>   I am using msysgit on Windows XP SP3 and 'git --version' states 'git \n> version 1.5.6.1.1071.g76fb'.\n\n   I now realized my question did not say exactly what I intended it to. \nI know I can start 'git gui' using:\n\n   start \"\" /b cmd /c git gui\n\n   from the command prompt and get the desired effect. I was wondering \nwhy git gui does not do this in the first place and whether it could be \nmodified so that this is the default behaviour?\n\n   Best regards,\n     Jurko Gospodnetić\n"},{"id":"85173","messageId":"20080727150244.GA7687@spearce.org","threadId":"14705","inReplyTo":"g6huoj$9rh$1@ger.gmane.org","subject":"Re: Running git gui on Windows.","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-07-27T15:02:44Z","receivedAt":"2008-07-27T15:02:44Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Jurko Gospodnetiii <jurko.gospodnetic@docte.hr> wrote:\n>>   Is there a way to run git gui on Windows so it does not block the  \n>> calling process?\n\nIn traditional UNIX shells this is \"git gui &\", requesting that the\nshell background the process, but still monitor it for exit status.\nOn Windows there is no such easy concept.\n\n>   I now realized my question did not say exactly what I intended it to.  \n> I know I can start 'git gui' using:\n>\n>   start \"\" /b cmd /c git gui\n>\n>   from the command prompt and get the desired effect. I was wondering  \n> why git gui does not do this in the first place and whether it could be  \n> modified so that this is the default behaviour?\n\ngit-gui and gitk won't automatically background themselves, as they\nare primarily developed on UNIX and have a UNIX like interface to\nthem, including backgrounding behavior.\n\nWe could add a -f flag to git-gui, such that \"git gui -f\" causes it\nto fork+exec a new wish process, completely disconnecting it from the\ncalling shell.  (-f stolen from OpenSSH's ssh -f host xterm example)\nI'd accept a patch for it, but its not high on my list of things to\nwrite and debug myself.\n\n-- \nShawn.\n"}]}