On Mon, Jun 8, 2009 at 12:03 PM, Adrian Buehlmann<adr...@cadifra.com> wrote: > On 08.06.2009 18:06, Steve Borho wrote: >> On Mon, Jun 8, 2009 at 10:22 AM, Kevin Greiner<grein...@gmail.com> wrote: >>> On Mon, Jun 8, 2009 at 11:18 AM, Yuki KODAMA <endflow....@gmail.com> wrote: >>>> On Tue, Jun 9, 2009 at 12:09 AM, <m...@fabiantriefenbach.de> wrote: >>>>> Hello, does somebody know how to start the hgtk command on windows >>>>> without the command line waiting in the background? >>>> Simply you execute "start /B hgtk xxx". >>> If you don't have thg on your path, you can specify the starting directory >>> like this: >>> start /b /d "c:\Program Files\TortoiseHg" hgtk about >> >> >> This has annoyed me on Linux and Mac as well, I've been meaning to ask >> people if they would prefer hgtk to fork a process for the GUI. > > +1 > (On Windows) > > (Unless there are good reasons not to. Which I currently can't think of. > So let's shoot in my foot :)
As per usual, this is simple on Unix. This one like change to hgtk does what we want: if os.fork(): sys.exit() Sadly, os.fork() does not exist on Windows. So hgtk will have to spawn itself and somehow prevent a spawn loop. -- Steve ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss