From: Johannes Sixt Date: Sun, 23 Dec 2007 16:35:00 GMT Subject: Re: how to detect git.exe directory? Message-ID: <200712231735.00336.johannes.sixt@telecom.at> In-Reply-To: On Sunday 23 December 2007 17:25, Marco Costalba wrote: > To easy the user and allowing to call qgit.exe double clicking on a > nice desktop icon I need a way to know where git.exe is installed *at > runtime*. > > So my question is: "What is the preferred way to detect git directory > at runtime for msysgit files?" > > - environment variable ?? > > - windows registry ?? > > - others ? Running git --exec-path should get you close to it. But I have to question why you need that path. -- Hannes