Reading environment variables

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Reading environment variables

Robin M. Braun
Help please,

I am writing some Octave scripts to be used as cgi programs. I need to
be able to read some cgi environment variable within Octave. How can
this be done. Also, how can I execute an external program from Octave.

Many thanks, and a happy xmas from sunny South Africa. It is 34C in
Cape Town today.

Rob

Dr. Robin M. Braun  ZR1RMB
Department of Electrical Engineering,
University of Cape Town, Private Bag,
Rondebosch, 7700, South Africa
Phone:+27+21+650-2810
Phone(h):+27+21+75-9280
Fax:+27+21+650-3465
Internet : [hidden email]
http://www.ee.uct.ac.za/~rmbraun




Reply | Threaded
Open this post in threaded view
|

Re: Reading environment variables

Martin Holz-2
"Robin M. Braun" <[hidden email]> writes:
> I am writing some Octave scripts to be used as cgi programs. I need to
> be able to read some cgi environment variable within Octave. How can
> this be done. Also, how can I execute an external program from Octave.

Try help on getenv,system and popen.

Merry Xmas
        Martin
--

------------------------------------------------------------------------
  Martin Holz  <[hidden email]>              
   
  Konrad-Zuse-Zentrum fuer             Phone : (+49) 30 / 8 41 85 - 352      
  Informationstechnik Berlin (ZIB)     Fax   : (+49) 30 / 8 41 85 - 107
  Takustrasse 7
  D-14195 Berlin-Dahlem
  Germany                                          
------------------------------------------------------------------------