Working Directory
Opened this issue · 2 comments
Recently I was trying to create some service and I just notice DaemonMaster does not have an "Working Directory"
Example:
It´s installed on "C:\Program Files\DaemonMaster"
I need to create a service that run "C:\Program Files\Rscript.exe" with the parameter: "C:\Scripts\test.R"
But there is no "Working Directory", means all the files inside the "C:\Scripts" it´s not being loaded because DaemonMaster it´s running on another folder.
It´s possible to implement this functionality?
Hello,
Yeah, actually DaemonMaster use the binary Dir as current Dir when starting a process, so in this case it should be "C:\Program Files". I can try to change it, but that could take some time because I started to move to the MVVM pattern and now it's a bit of a mess in the code xD. But as a workaround, is it not possible for you to start the process in a .bat file with the path specified?