-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Directory not searched for executable #369
Comments
I can confirm this - supervisor [sometimes] can't find command with path relative to the directory, but you can run this command from the directory manually. As a workaround you can provide a full path to the command. |
I figure out the lines of code doing with this:
I want the |
* BUG: Correctly check if program is an absolute path * FEATURE: If program is not an absolute. Include the program config directory in search path.
any update on this issue? @mnaberez |
I ran into this issue today. It celebrated its 3rd birthday this year ;) |
Her guys, you have a ready-made PR. |
I just ran into this. Can confirm that it's still a problem in 2018. Adding to this: I found a workaround (albeit less-than-ideal). Instead of directly running the application, run it in a shell. E.g. [program:hello]
command=bash -c "exec bin/hello"
directory=/opt/hello |
@kgreenek this require a extra bash process |
8 years of this issue and no mention in the docs what directory really does. I guess directory only affects environment variables and bash commands, |
EDIT: Re-parsing the docs I see this probably counts as "expected behavior" however it doesn't seem very obvious or clear, so perhaps this is more of a feature request.
I think this is because
process.get_execv_args
only checks my path for the executable and not the directory set bydirectory
.example
The text was updated successfully, but these errors were encountered: