Hgk and cygwin

Andrei Vermel avermel at mail.ru
Fri Dec 22 22:32:11 UTC 2006


> Wonderful timing.  I'm having this same exact problem even outside of cygwin.  My commit 
> tool, qct, tries to spawn hg as an eternal process and this always fails unless hg.exe 
> is in the path.  hg.cmd, hg.py, etc. are all ignored by subprocess.Popen().

Finally managed to set up qt and qct. Excellent job, thank you.
Indeed, I had to replace 'hg' with 'hg.bat' that I have on windows to make it work.

A proper way is probably to search os.environ['PATH'] for hg, hg.bat, hg.cmd and call 
whatever is found.

Andrei







More information about the Mercurial mailing list