-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change work Directory for Windows? #229
Comments
This is not possible in Windows. Sorry. I suggest you use os.Executable() or other configuration file to get the starting directory. |
It seems that the Windows Service Manager API supports the SetCurrentDirectory function, which can be used to implement the WorkingDirectory functionality in github.com/kardianos/service. |
|
Any new solution about this issue? |
How to change work Directory for Windows?
Can I use WorkingDirectory?
My English is pool sorry。
The text was updated successfully, but these errors were encountered: