emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Babel & DOS


From: Eric Schulte
Subject: Re: [Orgmode] Babel & DOS
Date: Tue, 16 Nov 2010 10:09:47 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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 <address@hidden> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]