You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In webserver context, environment variable are often skipped or wrong, because forced by the webserver process itself.
So it's necessary to prefix any executed command line by a set of environment variable assignments.
eg: the environment variable 'HOME' is missing when php is run under Apache.
A function like addEnvironmentVariable('HOME', '/home/username') could prefix any command line with:
@smalot I'm looking in to this, I don't really want to add a method for environment variables, at the moment I'm thinking of either a scoped command, or a scoped runner, something like this:
Activity
adambrett commentedon Mar 21, 2016
@smalot I'm looking in to this, I don't really want to add a method for environment variables, at the moment I'm thinking of either a scoped command, or a scoped runner, something like this:
or maybe
or on the command instead:
or...
Just ideas at the moment, not sure what direction to take it in...
smalot commentedon Mar 21, 2016
Sounds good !