emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Gauland <mikelygee@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Babel & DOS
Date: Tue, 16 Nov 2010 09:30:35 +1300	[thread overview]
Message-ID: <20101115203035.GA580@atasdev-mg> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 795 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2010-11-15 20:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15 20:30 Michael Gauland [this message]
2010-11-16 15:11 ` [Babel] Babel & DOS Giovanni Ridolfi
2010-11-16 17:09 ` Eric Schulte
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=20101115203035.GA580@atasdev-mg \
    --to=mikelygee@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).