Running Multiple Tor Instances in Windows from C# Application -


i'm trying start multiple tor instances via c# .net application. first instance starts great, rest exit immediately.

i using different data directory each instance, , have in fact made copy of entire tor directory each instance.

here code:

        pprocess = new process();          process.startinfo = new processstartinfo(exepath);         process.startinfo.workingdirectory = path.getdirectoryname(exepath);         process.startinfo.arguments = "datadirectory \"" + process.startinfo.workingdirectory + "\\data\"";          process.start(); 

i have tried "runasdaemon 1" , "--service" arguments , made no difference.

i can see unique data directories being used, tor creates state/lock/etc files in them. else missing?

perhaps should note, able start 1 instance code, , 1 instance manually opening "start tor browser.exe"

thanks


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -