🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15032

Re: probleme avec les fonctions exec...

#15032
From: Pierre Habouzit
Date: Sat, 15 Oct 2005 16:45
16 lines
1678 bytes
Thierry B wrote:

> Je remarque que le fils 5 (donc le case 4 ne se termine pas) et aussi
> que le fils 3 et 6 (donc case 2 et 5) qui sont cens� faire echo $PATH
> affichent $PATH, mais pourtant un "echo $PATH" dans un shell affiche le
> contenu de la variable PATH, ce qui n'est pas le cas dans mon
> programme.

getenv(3)

$PATH est expans� par le shell, pas par echo. echo ne fait rien d'autre
qu'afficher une chaine prise en argument sur stdout. rien de plus
-- 
�O�  Pierre Habouzit
��O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Technical Details
Message-ID: <43513212$0$17338$626a14ce@news.free.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!infeed-2.proxad.net!news18-e.free.fr!not-for-mail
References: <1129391183.461767.154610@z14g2000cwz.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,f48dca767454f981
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!infeed-2.proxad.net!news18-e.free.fr!not-for-mail
Message-ID: <43513212$0$17338$626a14ce@news.free.fr>
From: Pierre Habouzit <madcoder@debian.org>
Subject: Re: probleme avec les fonctions exec...
Newsgroups: fr.comp.lang.c
Date: Sat, 15 Oct 2005 18:45:40 +0200
References: <1129391183.461767.154610@z14g2000cwz.googlegroups.com>
User-Agent: KNode/0.9.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
X-Face: $(^e[V4D-[`f2EmMGz@fgWK!e.B~2g.{08lKPU(nc1J~z\4B>*JEVq:E]7G-\6$Ycr4<;Z!|VY6Grt]+RsS$IMV)f>2)M="tY:ZPcU;&%it2D81X^kNya0=L]"vZmLP+UmKhgq+u*\.dJ8G!N&=EvlD
Lines: 16
Organization: Guest of ProXad - France
NNTP-Posting-Date: 15 Oct 2005 18:45:06 MEST
NNTP-Posting-Host: 82.225.205.10
X-Trace: 1129394706 news18-e.free.fr 17338 82.225.205.10:58493
X-Complaints-To: abuse@proxad.net