From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IMETC5deRF+wEAAA0tVLHw (envelope-from ) for ; Tue, 25 Aug 2020 00:43:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sFPmBpdeRF8deAAAB5/wlQ (envelope-from ) for ; Tue, 25 Aug 2020 00:43:03 +0000 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 4356494036A for ; Tue, 25 Aug 2020 00:43:02 +0000 (UTC) Received: from localhost ([::1]:40852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAN3D-0006l9-G0 for larch@yhetil.org; Mon, 24 Aug 2020 20:42:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAN2m-0006kq-Ku for emacs-orgmode@gnu.org; Mon, 24 Aug 2020 20:42:33 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:52295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAN2j-0000OI-9a for emacs-orgmode@gnu.org; Mon, 24 Aug 2020 20:42:32 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 2F14279785; Mon, 24 Aug 2020 20:42:27 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=S/XZ9ErRP9sIyPVXxT6EVmAImFo=; b=mqPkwj PMALZG4EKPbAo0PWRXUAIvxiUwCYO0mZyswI+XUrptrF6cqJDdWmE7yUUnnJqtKc KG6F1NSxtctXZcHu5dF1RKCze2USNtR8RpPDIHBPXcZuqS4f1qrXu1bpp/lHc7gS al0uYhxfKf0s8f3JtfepN6b35o4SovqBC0bpM= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 2803B79784; Mon, 24 Aug 2020 20:42:27 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=kr9VPXYUvg3FdFwpUdjNHisSZ5wee9vVxLcmmoVN40I=; b=NBxq0H6JZj3e7xcyCtXF/xaAKD3EMqdlYtTe5UpleGyQcKsIh9ICSImvh08YvQs6gmhN7RXL7dVq8FtaCKPLvaa4ludJ0Yvv+BUqndC+x3j3wfdIdp7q9Vons+8dXdBDEkFZIlaPcAWttQY5HwfgKn2D0d7zZTfiQM49fIc5d8w= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 9CEE379783; Mon, 24 Aug 2020 20:42:26 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Nick Dokos Subject: Re: [BUG] babel runs bash instead of zsh when sessions are used In-Reply-To: <87imd86mz5.fsf@alphaville.usersys.redhat.com> References: <87ft8fwcc2.fsf@kyleam.com> <87imd86mz5.fsf@alphaville.usersys.redhat.com> Date: Mon, 24 Aug 2020 20:42:25 -0400 Message-ID: <87h7srblou.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: D91BBEFE-E66B-11EA-81BE-2F5D23BA3BAF-24757444!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=kyle@kyleam.com; helo=pb-smtp2.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/24 20:42:27 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=mqPkwj P; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=NBxq0H6J; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: I8StEj/d2XJc Nick Dokos writes: > I was able to reproduce it (with ksh, rather than zsh) on Org mode version 9.3.7 (release_9.3.7-705-gea9463 @ /home/nick/elisp/org-mode/lisp/). > > --8<---------------cut here---------------start------------->8--- > #+BEGIN_SRC ksh :session z1 > echo $HOME $0 $(which $0) > #+END_SRC > > #+RESULTS: > : /home/nick /bin/bash /bin/bash Hmm. If you step through org-babel-execute:shell, is shell-file-name bound to the expected value of "ksh" (which should be let-bound outside by org-babel-execute:ksh)?