From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: weird errors Date: Sun, 14 Jan 2018 21:35:22 +0100 Message-ID: References: <87a7xhmpht.fsf@gnu.org> <20180114114346.78977872@scratchpost.org> <87inc4xun9.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e0821feccd8df050562c26f8f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eap01-0008EO-1o for guix-devel@gnu.org; Sun, 14 Jan 2018 15:35:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eap00-0003r8-1P for guix-devel@gnu.org; Sun, 14 Jan 2018 15:35:25 -0500 Received: from mail-yw0-x22c.google.com ([2607:f8b0:4002:c05::22c]:43378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eaozz-0003qs-Tw for guix-devel@gnu.org; Sun, 14 Jan 2018 15:35:23 -0500 Received: by mail-yw0-x22c.google.com with SMTP id x190so4662162ywd.10 for ; Sun, 14 Jan 2018 12:35:23 -0800 (PST) In-Reply-To: <87inc4xun9.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel --089e0821feccd8df050562c26f8f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-01-14 17:38 GMT+01:00 Ricardo Wurmus : > > Catonano writes: > > >> I'd just call (setenv "/gnu/store/some-hash-passfile") instead of > >> starting a whole shell (it's a waste and increases the attach surface > for > >> no reason to use a shell here). > >> > > > > I can certainly do like you suggest. It's cleaner > > > > But "trytond-admin" has to be called finally. Doesn't this require a > shell > > anyway ? > > No, it actually doesn=E2=80=99t. There are different ways to execute pro= grams, > and only one of them is to spawn a shell and have the shell handle the > execution. > Ok, ok Thanks for clarifying --089e0821feccd8df050562c26f8f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2018-01-14 17:38 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>= :

Catonano <catonano@gmail.com&g= t; writes:

>> I'd just call (setenv "/gnu/store/some-hash-passfile= ") instead of
>> starting a whole shell (it's a waste and increases the attach = surface for
>> no reason to use a shell here).
>>
>
> I can certainly do like you suggest. It's cleaner
>
> But "trytond-admin" has to be called finally. Doesn't th= is require a shell
> anyway ?

No, it actually doesn=E2=80=99t.=C2=A0 There are different ways to e= xecute programs,
and only one of them is to spawn a shell and have the shell handle the
execution.

Ok, ok

Tha= nks for clarifying
--089e0821feccd8df050562c26f8f--