Hi vanvliet,
why don't write a shell script. set the environment within the script and call your application.

And it's possible to set environment, just exec the system call. But it will work for you prog only. if you want it work for everything after the setting, when you call the system call , give a "source".


Message: 1
Date: Wed, 17 Dec 2008 16:56:35 +0100
From: "Van Vliet" <[email protected]>
Subject: A way to export from c an environment var
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

Is there a way to create and export from c an environment
variable a bash
script can be aware of? I intend something like PATH, etc.

Thanks and Regards,

VanVliet

Dr. Caroline Van Vliet
Adfl Group
Advanced DSP Flexible Language Group
Via Greto di Cornigliano 6R
16152 - Genova, Italy
Tel. +39 010 8609370 - Fax +39 010 8609381
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to