Deutsch English Français Italiano |
<st73t5$25su$1@cabale.usenet-fr.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!usenet-fr.net!.POSTED!not-for-mail From: Olivier Miakinen <om+news@miakinen.net> Newsgroups: fr.comp.os.linux.configuration Subject: Re: setsid avec des variables d'environnement Date: Sun, 30 Jan 2022 23:36:21 +0100 Organization: There's no cabale Lines: 22 Message-ID: <st73t5$25su$1@cabale.usenet-fr.net> References: <m2r18rzvld.fsf@macseb.seki.fr> <st71de$2jf$7@shakotay.alphanet.ch> NNTP-Posting-Host: 220.12.205.77.rev.sfr.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: cabale.usenet-fr.net 1643582181 71582 77.205.12.220 (30 Jan 2022 22:36:21 GMT) X-Complaints-To: abuse@usenet-fr.net NNTP-Posting-Date: Sun, 30 Jan 2022 22:36:21 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: <st71de$2jf$7@shakotay.alphanet.ch> Bytes: 1517 Le 30/01/2022 22:53, Jo Engo a écrit : > >> cmd="LD_LIBRARY_PATH=/some/path /some/command" > > Je voudrais bien t'aider, mais j'ai un problème en amont : > > $ toto="titi" /usr/bin/printf \"%s\" $toto > "" > Je devrais avoir "titi" en sortie, non ? Non, parce que $toto est interprété par le shell avant d'exécuter la commande. En revanche : $ cat x /usr/bin/printf \"%s\" $toto $ toto="titi" ./x "titi"$ -- Olivier Miakinen