[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Tortoiseproc apparently must have a shell

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-06-22 17:52:41 CEST

Thomas Denk wrote:

> Looked at that... apparently not much different than the shell extension?
> // from utilsexc.cpp
> bool ok = ::CreateProcess
> (
> NULL, // application name (use only cmd line)
> (wxChar *)
> command.c_str(), // full command line
> NULL, // security attributes: defaults for
> both
> NULL, // the process and its main thread
> redirect, // inherit handles if we use pipes
> dwFlags, // process creation flags
> NULL, // environment (use the same)
> NULL, // current directory (use the same)
> &si, // startup info (unused here)
> &pi // process info
> ) != 0;
>
> The only two real differences that I see are
> 1. NULL instead of tortoiseMergePath
> 2. redirect (boolean, true in this case) instead of FALSE
> Could it really be that first parameter? MSDN explicitely says that
> /lpApplicationName can be NULL. Hmm...?
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp)

What are the process creation flags? Maybe there's something set there
which shouldn't be?

Also, if you create the registry key
HKCU\Software\TortoiseSVN\Debug
with a DWORD value != 0, then TortoiseProc will show you a messagebox
with the command line params it received on each startup. Maybe you can
see there what's wrong.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jun 22 17:53:04 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.