From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [BUG] remote execution in heterogeneous environment Date: Tue, 08 Jan 2013 11:02:17 -0700 Message-ID: <87wqvn3652.fsf@gmail.com> References: <6D36E0F9-01D1-4F95-9FAA-B2B2CA10E57E@gmail.com> <87623zaj4j.fsf@gmx.de> <87hang279z.fsf@gmx.de> <87ip79q6x6.fsf_-_@Rainer.invalid> <87ip78gjfc.fsf@gmx.de> <87r4lvy44l.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsdVK-0006mg-F5 for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 13:02:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsdVG-00053S-UB for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 13:02:26 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:54914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsdVG-000531-Ol for emacs-orgmode@gnu.org; Tue, 08 Jan 2013 13:02:22 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so477940pad.14 for ; Tue, 08 Jan 2013 10:02:22 -0800 (PST) In-Reply-To: <87r4lvy44l.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 08 Jan 2013 18:30:02 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Michael Albinus writes: >> What about this: > [...] > > Looks good, I can test it tomorrow. > >> The use of "/bin/sh" as fallback should be OK. In the local case, the >> first cond clause shall be selected (otherwise there is something really >> wrong). > > Yes. But on Windows there is always something wrong=E2=80=A6 :-) > >> And for remote execution, "/bin/sh" should exist execept in case >> of remote MS Windows or Android devices. Once you want run shells from >> org there, we could even tweak this :-) > > I was thinking towards being able to use a restricted shell. > I'm jumping in late here a without context, so forgive me if this suggestion is not useful. Do either the `org-babel-sh-command' or the :shebang header argument affect this behavior? If not should they, or should we add a new header argument (say :remote-shell) to allow for customization of the choice of shell for remote execution? --=20 Eric Schulte http://cs.unm.edu/~eschulte