TortoiseSVN command keeps open processes

I am using a scheduled task to run a .bat script which updates my SVN repositories.

The scheduled task runs every hour. It still creating a new process of "TortoiseProc.exe", every time I run the script, until the are a lot of open processes and the CPU is at 99%. The script is running fine, but unfortunately the processes won't be closed automatically.

This is how my .bat looks like:

CD C:\Program Files\TortoiseSVN\bin\
START /wait TortoiseProc.exe /command:update /path:"D:\somePath" /closeonend:1
START /wait TortoiseProc.exe /command:update /path:"D:\somePath" /closeonend:1

As you can see I added /closeonend:1 which means the dialog should be closed if no error occurs.

When I run the .bat script manually, no process is created.

Does someone has a suggestion, what to do? I really would appreciate it!

4

1 Answer

Don't use tortoiseproc for unattended/non-interactive scripting (automation) - use svn.exe instead, which is shipped with TortoiseSVN.

CD C:\Program Files\TortoiseSVN\bin\
svn update "D:\somePath"
svn update "D:\somePath"

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like