From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fabio Natali Newsgroups: gmane.lisp.guile.bugs Subject: bug#43364: with-output-to-port works with file ports Date: Tue, 23 Apr 2024 17:32:52 +0100 Message-ID: <87zftkniob.fsf@fabionatali.com> References: <20200912225923.5fa9504e@airmail.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23732"; mail-complaints-to="usenet@ciao.gmane.io" To: 43364@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Apr 23 18:34:15 2024 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rzJ5y-0005qf-Sf for guile-bugs@m.gmane-mx.org; Tue, 23 Apr 2024 18:34:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzJ5h-00048T-Un; Tue, 23 Apr 2024 12:33:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzJ5g-000483-G4 for bug-guile@gnu.org; Tue, 23 Apr 2024 12:33:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rzJ5g-0001P9-6Y for bug-guile@gnu.org; Tue, 23 Apr 2024 12:33:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rzJ5v-0006SV-VR for bug-guile@gnu.org; Tue, 23 Apr 2024 12:34:12 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fabio Natali Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 23 Apr 2024 16:34:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43364 X-GNU-PR-Package: guile Original-Received: via spool by 43364-submit@debbugs.gnu.org id=B43364.171389001223710 (code B ref 43364); Tue, 23 Apr 2024 16:34:11 +0000 Original-Received: (at 43364) by debbugs.gnu.org; 23 Apr 2024 16:33:32 +0000 Original-Received: from localhost ([127.0.0.1]:53175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzJ5A-000683-6J for submit@debbugs.gnu.org; Tue, 23 Apr 2024 12:33:30 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:43215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzJ52-00060x-Fa for 43364@debbugs.gnu.org; Tue, 23 Apr 2024 12:33:20 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id E7B2740008 for <43364@debbugs.gnu.org>; Tue, 23 Apr 2024 16:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1713889973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=amLssmxvQWFf1miy30l9SU6cpbLDIOmhnLTEVovFUUQ=; b=e3eTiIuJg4KY+hkTGFULGnESMBwIO6nqnN+lQG+nAASjZcae/1+4e8Q5BZ1NqMKZxRzA5P UUyoqTpEhwcxxaUzuiQLPUHwpuW3Hc+xJjiP2xxiCj8xWZcE8lRmfyyPwHili4xqMyeMrW pBmUndZkxvdwfOzXknp2BIiWYfbLQb+79w8rsONTENM4r8sc3hJ6MDcuHpUWVTkSB7ZbyK zvGq0EViKKEZerDMFJqGjQQtEte2avVKnMpOjCkxp2LYATS7QdycE+dWHT18UGaJukVKBz WVTSfUGlsK9/KFePJlqaWC2gN99n/iGydBV93GlLx1+dm0+QBSHflSAO12+Vdg== In-Reply-To: CAFHYt54Bd1RXJ3rzq8d9_kAHF0FUrAFqbMzNp2zCbCjptGo2EQ@mail.gmail.com X-GND-Sasl: me@fabionatali.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10815 Archived-At: Dear All =F0=9F=91=8B, I've been encountering a few times the need for a procedure like 'system' or 'system*' but that might be capable of capturing the output of the program that's being called. While this is something that can be solved with a simple 'open-pipe*' wrapper, the pattern seems relatively frequent in Guix, which is where I noticed it. I suggested that some variant of such a wrapper could be added to '(guix build utils)'=E2=81=B0. In reply to my post, it was brought to my attention that the problem might be addressed at the Guile level and pointed me to this bug report. I thought of sending a quick follow-up here to see if there's any rough consensus on a possible way of addressing this - or why it might be difficult or potentially not worth the effort. Thanks, all best, Fabio. =E2=81=B0 https://lists.gnu.org/archive/html/guix-devel/2024-04/msg00199.ht= ml --=20 Fabio Natali https://fabionatali.com