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