Re: [WebDNA] OT, environment variables os x
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108236
interpreted = N
texte = Thierry Almy wrote:> We'd like to set environment variables to be accessible by shell commands from WebDNA.>> 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.>> We added the path in /etc/profiles and /etc/paths>> 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?>> ThierryHi Thierry,Instead of environment variables, maybe functions...ie., have a vunction called [convert ..], where it first looks for the command within known paths from the different inviro's?Just a thought.Donovan-- Donovan BrookeEuca Design Centerwww.euca.uswww.keepitturning.co
Associated Messages, from the most recent to the oldest:
Thierry Almy wrote:> We'd like to set environment variables to be accessible by shell commands from WebDNA.>> 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.>> We added the path in /etc/profiles and /etc/paths>> 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?>> ThierryHi Thierry,Instead of environment variables, maybe functions...ie., have a vunction called [convert ..], where it first looks for the command within known paths from the different inviro's?Just a thought.Donovan-- Donovan BrookeEuca Design Centerwww.euca.uswww.keepitturning.co
Donovan Brooke
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:
[Switch] - works great, suggestion (2000)
[decrypt seed=seed][getchars (1999)
search between two dates (2003)
[WebDNA] WebDNA Roll Call (2014)
RequiredFields and MacOS X Server? (2000)
WebDNA Challenge - Was: Why WebDNA is not popular (2002)
OT Weird Messenger Service message (2002)
[OT] Adding languages to Alpha Editor (2004)
Re:E-mailer application times out (1998)
searchable list archive (1997)
Digest Version (2000)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Shopping Cart Problems (2000)
Date/Time format problems (1997)
Strange intermittent WebDNA problems (2008)
Problem displaying search result (1997)
[carts] and databases (1997)
available times? (2003)
Email Set-Up? (1997)
Location of Browser Info.txt file (1997)