forked from topfreegames/apm
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Working directory for pmgo processes is not project folder #32
Comments
@Anton-Cao |
This information needs to be added to readme or documentation |
I think this issue should also be fixed, since from go 1.11, projects no longer need to be placed under |
I submitted the pull request to the start command by adding the cwd parameter to specify the working directory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(More of a detail than an issue with
pmgo
, but I spent some time debugging a bug that was caused by this so I'm hoping that noting it down here can help other people later.)Child processes that the
pmgo
daemon manages have the same working directory as thepmgo
process. This means the working directory is not the project folder, so relative file paths can break.To get around this, you can change the working directory:
The text was updated successfully, but these errors were encountered: