Article View: es.comp.os.linux.programacion
Article #5958Re: ¿Pudede un programa cambiar variables de entorno?
From: Han Solo
Date: Wed, 27 Aug 2003 15:00
Date: Wed, 27 Aug 2003 15:00
40 lines
2121 bytes
2121 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Samuel <444398NOSPAM@celes.unizar.es> writes: [Sobre el cambio de variables de entorno por un programa llamado por un script] > Puedes verlas y modificarlas localmente a un proceso(y ser�n heredadas > por sus descendientes)... > man getenv putenv setenv clearenv unsetenv environ > > ...pero no puedes modificar las del shell que invoca tu programa C. Oh! shit! Me tem�a esa respuesta. Pues nada, a trastear con sed, awk y compa��a... :-( Gracias por tu respuesta Un Saludo - -- Han Solo The Rebel Alliance Emacs is not on every system So what? [...] Do you tell your administrative people to stick with notepad.exe? Do you tell your fat kids they can only have the crummy games that come with their video games or plain dress that comes with Barbie? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/> iD8DBQE/TMeY4FjpJaPEp20RAp8aAJ9afkHXbZdW2QQ6BJ5soepI/6BreACg7vfD hnuGd7md0bJX72ALpqZW5FI= =Bk7C -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<868ypfgn6u.fsf@pc147.ietcc.csic.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pc147.ietcc.csic.ES!not-for-mailReferences:
<86d6ergp69.fsf@pc147.ietcc.csic.es> <slrnbkph0a.m9.444398NOSPAM@tizona.no-ip.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,423000fe6febdde7 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-08-27 08:10:15 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pc147.ietcc.csic.ES!not-for-mail From: Han Solo <hsolo@escomposlinux.org> Newsgroups: es.comp.os.linux.programacion Subject: Re: ¿Pudede un programa cambiar variables de entorno? Date: 27 Aug 2003 17:00:41 +0200 Lines: 40 Message-ID: <868ypfgn6u.fsf@pc147.ietcc.csic.es> References: <86d6ergp69.fsf@pc147.ietcc.csic.es> <slrnbkph0a.m9.444398NOSPAM@tizona.no-ip.org> NNTP-Posting-Host: pc147.ietcc.csic.es (161.111.230.147) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 1061997013 10263474 161.111.230.147 (16 [63837]) X-Orig-Path: ID-63837.user.dfncis.de!news User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7