getenv - unix - fp 5.0.13

Bob Stockler bob at trebor.iglou.com
Tue Mar 9 13:24:40 PST 2004


On Tue, Mar 09, 2004 at 12:58:53PM -0800, Enrique Arredondo wrote:
| HI List,
| 
| Why can't I get the Enviroment variable set when running this processing ?
| 
| Then: system "FLOGO=`/usr/vsifax/bin/flog -a"<2<"`;export FLOGO"

SYSTEM invokes a new instance of /bin/sh to execute the commands
handed to it.  That shell and everything it knows about goes away
when it dies.

You want to use the USER command to get the output of "flog" into
your filePro process.  (You may have to write a shell script that
reads its standard input and passes it to "flog".)

Bob

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list