-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Configurable search paths #5356
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
Conversation
| #[cfg(windows)] | ||
| command.creation_flags(CREATE_NO_WINDOW_FLAG); | ||
|
|
||
| command.env( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this overrides the main $PATH right? so user would need to know to set everything they need as not appending? (can the config include $PATH as an auto expanding var?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
command.env overrides, but the search_path_var() function will do the appending
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ok, nice.
Signed-off-by: fbalicchia <[email protected]>
Signed-off-by: Blair Allan <[email protected]>
This lets you set paths in your config to be appended to a PATH variable when Goose runs things. For now just extensions but perhaps we use this for other processes too, like cli providers?