[ANN] tortoise-hg
Steve Borho
steve at borho.org
Thu Apr 26 16:18:56 CDT 2007
On Thursday 26 April 2007 3:59:14 pm Andrei Vermel wrote:
> On my windows box
> subprocess.Popen('hg help', shell=True)
> successfully calls hg.bat, so that's a simple fix.
That breaks down if you have filenames with spaces in it. Qct tries to
use the non-shell based interface (passing in command line arguments as
a list []) in order to avoid all the shell escaping hell that you
normally have to jump through.
I think your first suggestion for discarding matches that fail to
execute is probably the best one. I would really like to know what
non-executable 'hg' file is causing Tk Soh so much trouble. Does
Windows have the equivalent of a 'which' command?
--
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F E2E4 B0C2 5292 F2C6 2C8C
More information about the Mercurial
mailing list