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" <c.vanvl...@adfl.it>
Subject: A way to export from c an environment var
To: davinci-linux-open-source@linux.davincidsp.com
Message-ID: <49492133.6d.7e5c.1878233...@webmaildh3.aruba.it>
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
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to