Qct issue on Win32

TK Soh teekaysoh at gmail.com
Thu Apr 26 17:08:35 CDT 2007

I'm taking the discussion to a new thread, as the original thread is
getting crowded with OT posts.

On 4/26/07, Steve Borho <steve at borho.org> wrote:
> 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?

I am a little confused, do you mean subprocess.Popen() supports
non-executable 'hg' file on Win32, but somehow it doesn't work on my

More information about the Mercurial mailing list