[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-21 22:07:25 CEST

Thomas Denk wrote:
> SteveKing wrote:
>>But *how* does it fail? Error message? Crash?
> Takes up 18M of memory, and is entirely idle. Nothing on stdout, nothing
> on stderr, no GUI alert whatsoever.

TSVN doesn't write stuff neither to stdout nor stderr.

> itself calls tortoiseproc, it works fine. Also, every normal console
> command (like dir or svn) work just normal. You would exepect that
> either none works or all, wouldn't you?

Not necessarily. I'm not sure how TortoiseProc is called, but maybe
you're using something which expects a console program and not an UI
program? Could it be that the way you start TortoiseProc it just can't
pop up the UI?

> Thanks for the reference, CreateProcess won't do me, though. In that
> case, I'd have to rewrite a lot of stuff and I shun being
> Windows-dependent, too. Still, I'll have a look at the wxExec source on
> next occasion to see what actually happens there.
> If nothing helps, I'll leave it as it is, calling "cmd /C
> tortoiseproc.exe" instead.

Or look for another function you can use to start another process. Maybe
you need just another function and it will work? Seems to me that your
function doesn't call CreateProcess but another API which doesn't work
with UI's (winmain based programs) but only with console apps (main()
based programs).


   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 Tue Jun 21 22:07:43 2005

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