From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: invoke instead of (system* ... Date: Fri, 12 Jan 2018 20:16:40 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113db14ab46c7b0562991abe" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ea4ok-0006ej-VG for guix-devel@gnu.org; Fri, 12 Jan 2018 14:16:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ea4ok-0000wf-8l for guix-devel@gnu.org; Fri, 12 Jan 2018 14:16:42 -0500 Received: from mail-yb0-x230.google.com ([2607:f8b0:4002:c09::230]:38348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ea4ok-0000vx-34 for guix-devel@gnu.org; Fri, 12 Jan 2018 14:16:42 -0500 Received: by mail-yb0-x230.google.com with SMTP id b132so3138790yba.5 for ; Fri, 12 Jan 2018 11:16:42 -0800 (PST) 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: guix-devel --001a113db14ab46c7b0562991abe Content-Type: text/plain; charset="UTF-8" recently I read that we should move to using this invoke procedure instead of the (system* some-script) in defining little scripts in packages and services definitions But I can't remember where exactly Where is this invoke procedure defined ? I'm specifically interested in an exception to be raised in case my script goes awry In fact I discovered just today that I was overlooking a problem in my service because one of my scripts was failing Thanks --001a113db14ab46c7b0562991abe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
recently I read that we should move to= using this invoke procedure instead of the (system* some-script) in defini= ng little scripts in packages and services definitions

Bu= t I can't remember where exactly

Where is this invoke pro= cedure defined ?

I'm specifically interested in an excepti= on to be raised in case my script goes awry

In fact I discover= ed just today that I was overlooking a problem in my service because one of= my scripts was failing

Thanks
--001a113db14ab46c7b0562991abe--