From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: [PATCH 06/11] gnu: Add python-sh. Date: Sat, 27 Aug 2016 10:42:28 +0200 Message-ID: <20160827104228.5db67f6a@scratchpost.org> References: <20160822132018.19828-1-david@craven.ch> <20160822132018.19828-6-david@craven.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdZCG-0002QO-LG for guix-devel@gnu.org; Sat, 27 Aug 2016 04:42:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdZCD-0005zM-HH for guix-devel@gnu.org; Sat, 27 Aug 2016 04:42:36 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:35029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdZCD-0005zI-Ad for guix-devel@gnu.org; Sat, 27 Aug 2016 04:42:33 -0400 In-Reply-To: <20160822132018.19828-6-david@craven.ch> 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: David Craven Cc: guix-devel@gnu.org On Mon, 22 Aug 2016 15:20:13 +0200 David Craven wrote: > + (description "Python subprocess interface.") I'd mention that it provides a function per program and that you invoke programs by calling a function called like the program in the sh module. Essentially it hides the fact that it's an invocation of a process rather than a call of a function. That's what it's for - otherwise you could have just used the Python built-in subprocess module.