Re: [WebDNA] OT, environment variables os x
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108242
interpreted = N
texte = If I have to hack it like this, I'd prefer to list my different servers =in a global db and store the paths there.=20Then I can build the path to IM depending on the server I am and my CMS =templates will work on all servers ...Do we really have to work with full paths in the shell?...ThierryAm 25.01.2012 um 16:19 schrieb Donovan Brooke:> Thierry Almy wrote:>> We'd like to set environment variables to be accessible by shell =commands from WebDNA.>>=20>> The problem is, we are working with ImageMagick on different servers =where IM is installed on different locations.>> If I use the hole path to the "convert" command it works fine, but =I'd like to just use the command itself without a path.>>=20>> We added the path in /etc/profiles and /etc/paths>>=20>> The IM commands are found in the terminal but not inside the WebDNA =shell tags ... where do we define the paths for apache/lighttpd/webdna?>> Or do we really have to work with full paths to the commands?>>=20>> Thierry>=20>=20> Hi Thierry,> Instead of environment variables, maybe functions.>=20> ..ie., have a vunction called [convert ..], where it first looks for =the command within known paths from the different inviro's?>=20> Just a thought.> Donovan>=20> --=20> Donovan Brooke> Euca Design Center> www.euca.us> www.keepitturning.co> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
If I have to hack it like this, I'd prefer to list my different servers =in a global db and store the paths there.=20Then I can build the path to IM depending on the server I am and my CMS =templates will work on all servers ...Do we really have to work with full paths in the shell?...ThierryAm 25.01.2012 um 16:19 schrieb Donovan Brooke:> Thierry Almy wrote:>> We'd like to set environment variables to be accessible by shell =commands from WebDNA.>>=20>> The problem is, we are working with ImageMagick on different servers =where IM is installed on different locations.>> If I use the hole path to the "convert" command it works fine, but =I'd like to just use the command itself without a path.>>=20>> We added the path in /etc/profiles and /etc/paths>>=20>> The IM commands are found in the terminal but not inside the WebDNA =shell tags ... where do we define the paths for apache/lighttpd/webdna?>> Or do we really have to work with full paths to the commands?>>=20>> Thierry>=20>=20> Hi Thierry,> Instead of environment variables, maybe functions.>=20> ..ie., have a vunction called [convert ..], where it first looks for =the command within known paths from the different inviro's?>=20> Just a thought.> Donovan>=20> --=20> Donovan Brooke> Euca Design Center> www.euca.us> www.keepitturning.co> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Thierry Almy
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Questions To Answer (1997)
turning every 5th line red (1999)
Execute Applescript (1997)
Not really WebCat (1997)
[ConvertChars] problem (1997)
FM PRO Compatibility Issue - Single Database w/oConversions (1997)
OT: Variables in printed URL (2007)
ReturnRaw context (1997)
[WebDNA] I can't log into WebDNA (2014)
WebCatalog 4.0 has been released! (2000)
Carts & Refering URLs (1997)
Encyption mail was Suggestions for Topics ... (1998)
Directory Overload (1998)
Add message to Order (1997)
To Do list (2003)
can WC render sites out? (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Math with Time (1997)
WebCat b13 CGI -shownext- (1997)
Help! WebCat2 bug (Ben's input) (1997)