From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ECYCGJp+ZGNU5gAAbAwnHQ (envelope-from ) for ; Fri, 04 Nov 2022 03:53:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MPcBGJp+ZGPzCgEAauVa8A (envelope-from ) for ; Fri, 04 Nov 2022 03:53:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 00AF4387C2 for ; Fri, 4 Nov 2022 03:53:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqmoa-0007Cr-AH; Thu, 03 Nov 2022 22:52:16 -0400 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 1oqmoL-00065M-EG for emacs-orgmode@gnu.org; Thu, 03 Nov 2022 22:52:03 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqmoH-0008IK-Oa for emacs-orgmode@gnu.org; Thu, 03 Nov 2022 22:52:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6A521240101 for ; Fri, 4 Nov 2022 03:51:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667530315; bh=MjZyVhRlMLl4omnGMn68sdZ5aeqCadIfQlUuJBgT+iM=; h=From:To:Cc:Subject:Date:From; b=GcmcglUJocJ/h5i9+U3sL+Nb3AJxBL8DSBa6KSugXX7sQB1r5wqoAo1Uzk0wOBbMp zC5EIPOmGlI7lhqvaSCJdraJjEfz7Ik6k1TG5S488TXOU/3HeiYIzMPn0Wf4silZXj YnRqymkqWZb1cKBELrcXCMBjGNOl3MnAp6ttsD7E9F5vjkKj+qZd+ecIobmQLPiMmM mSIrd6cN4sRXQBtaZJdE/iUR1mGNpEsE7vJ/JAyKejUak3QFLCkstooSd/v6SvDYHb UP3QpqvX2ca2yZqR5HoQlLyaDvrCgiBXukaLUhEScz6i9gzqkclLxnbUE5ZoQa8+wr vG1VMct6EFYJA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N3QBc1RMZz6tpF; Fri, 4 Nov 2022 03:51:51 +0100 (CET) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: Org 9.6-pre and Bash sessions In-Reply-To: References: <87edvbysqc.fsf@localhost> <87r0z6j1b1.fsf@localhost> <87pmel68y6.fsf@localhost> <87o7u432tl.fsf@localhost> <87a65o15ut.fsf@localhost> <87fsffqi49.fsf@localhost> <87wn8lorc1.fsf@localhost> <87v8o4krel.fsf@localhost> <87r0yrjmue.fsf@localhost> Date: Fri, 04 Nov 2022 02:52:32 +0000 Message-ID: <87mt975t3j.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667530394; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5EVlfz5X4m1ned4gVAm05J+pzHyjnV/UJwd+yoKBvpw=; b=pZW11JYO9epJ5A2QFzLwqyq2vQzg7EgSr6KdKgaXlInQ7cc6WSyBthBJW4lvoXTlLtrtlT p+oDbR6lPYtIG/HEniARjMF/LXVTvU+5Q5E3YkuvTgRMp8WSLUi6aWeYdo1PuORSxK4kCs jKgE+ZN//tNha/ufe4MDJ8yx+OiTkiKDLHDhcjWxL9gDW+AgSgFsZk+MmFWRvTSnRpu34f kzI0RfsMUvTirL02+WTZga4WX3G1S80MC6Sr7Ae1rjwZy1oQKhK6AwbjGXpCfbFPit+7b/ UmDotz+L0bHnbuZL36SKWG6qgrq1dJgEAFw1PBIu196i9sdYg/9LSVqwUov3BQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667530394; a=rsa-sha256; cv=none; b=nPqN53hh9fy6Q1Izk2DDnWSgpiyeUxT+4dN+Dyy/0YubteX5j6/BrBmFeYcOHAXQaY7ZOW hWQUepnnAbjXeM4hdpd8k32v3COHWq0j85is2XxHPZXEcDzMp63JCJBS1lVbHzdq9ikl2A gnFVYZmeRHgwk4K3miAftWt+0Ey3QS1p4DIhrOG6fUyFDRXVkowSwMa/STGIPQ7erADRhH 1Q1MHSTiLnEcfsEmbXqZY4x7maDHzw3Kuy10VPhGv0uL7VzDlimdCY7gp8yzcVRruxQ2db o0k0nD7bYjl3wHwtzbckFt2ib089qu6hCH95oMQl1b3JsezJV7g2//sRyWfzgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GcmcglUJ; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GcmcglUJ; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 00AF4387C2 X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: ByihkwjmP4g6 Rudolf Adamkovi=C4=8D writes: > Ihor Radchenko writes: > >> Feel free to change it in the patch together with tests. > > Thank you for driving the discussion and for giving me the opportunity > to solve the problem (and not just temporarily, but with tests). What > do you think about the attached patch? Applied onto main changing the commit summary to "org-babel: ...". This change will affect all the babel backends that use `org-babel-eval'. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Df7b16402e= 6a694d592210f766544f6114056b4b0 A small note: If stderr does not contain a trailing newline, it will be displayed as Stderr output with no trailing newline[ Babel evaluation exited with code 1= ] One may argue that it is ugly. On the other hand, adding an extra newline will make stderr with and without the newline indistinguishable. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at