From: "Eric Schulte" <schulte.eric@gmail.com>
To: Michael Gauland <mikelygee@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Babel & DOS
Date: Tue, 16 Nov 2010 10:09:47 -0700 [thread overview]
Message-ID: <87fwv1yz38.fsf@gmail.com> (raw)
In-Reply-To: <20101115203035.GA580@atasdev-mg> (Michael Gauland's message of "Tue, 16 Nov 2010 09:30:35 +1300")
Hi Mike,
I have no access to a windows machine, so it is not surprising that the
windows shell doesn't work as expected.
All of the external Babel calls do use built in Emacs functions for
calling external programs all of which work cross platform (which is why
these other languages work on Windows despite no explicit Windows
testing or development), however I believe that the shell is simply too
OS-specific to expect things to "just work" as in the other languages.
If you do find ways to improve ob-sh.el for windows I would be happy to
fold such changes in.
Thanks -- Eric
Michael Gauland <mikelygee@gmail.com> writes:
> I'm having trouble executing a shell script under Microsoft Windows using
> org-babel. When I evaluate this:
>
> #+begin_src sh :results output
> echo Hello
> #+end_src
>
> I get this:
> #+results:
> : Microsoft Windows XP [Version 5.1.2600]
> : (C) Copyright 1985-2001 Microsoft Corp.
> :
> : c:\home\mike\notes-hg>More?
>
> It looks like the shell is invoked as expeced, but the 'echo' command does not
> appear to be executed. I've used babel to execute shell script under
> Linux, and
> have used other babel languages (ditaa, plantuml, dot) under Windows, but this
> is the first time I've tried the DOS shell.
>
> Am I doing something obviously wrong, or is it time to fire up the debugger?
>
> Any advice would be appreciated.
>
> Regards,
> Mike
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-11-16 17:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-15 20:30 Babel & DOS Michael Gauland
2010-11-16 15:11 ` [Babel] " Giovanni Ridolfi
2010-11-16 17:09 ` Eric Schulte [this message]
2010-11-16 17:14 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fwv1yz38.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mikelygee@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).