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

Re: PDF diff script - how to run configured Diff viewer?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 21 Dec 2015 19:40:36 +0100

On 21.12.2015 11:03, wwwald wrote:
> Yes, that does the trick to open the diff viewer.
>
> One problem left: I still want to delete the temporary *.txt files
> (the output of pdftotext), after the diff viewer has been closed by
> the user.

If you create the temp files in the temp folder, then Windows will clean
up eventually.

>
> Now, I'm using the Run() method of WScript.Shell to execute
> tortoiseproc. It has an option to wait for the called process to
> return, but this returns immediately after tortoiseproc has started
> the diff viewer, NOT after the diff viewer is closed by the user. In
> other words, it waits for tortoiseproc to end, not for the diff
> viewer process to end.

you could start the diff viewer directly (TortoiseMerge).

> Is it possible to have tortoiseproc NOT return, until after the diff
> viewer itself is closed?

No, sorry.

However:
TortoiseProc automatically deletes all files that are in the temp folder
and are
* match the filename mask "*svn*.*"
* are older than one day

so if you create your temp files accordingly, TortoiseProc will clean
them up as well after a day.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3151612
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-12-21 19:40:46 CET

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

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