mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-27 13:32:53 +00:00
ob-maxima.el: Fix execution on MS Windows
* ob-maxima.el (org-babel-execute:maxima): Change command line invocation to a one that should work everywhere. TINYCHANGE
This commit is contained in:
parent
7880695221
commit
6156b57bdf
|
@ -81,8 +81,11 @@ This function is called by `org-babel-execute-src-block'."
|
|||
(result
|
||||
(let* ((cmdline (or (cdr (assq :cmdline params)) ""))
|
||||
(in-file (org-babel-temp-file "maxima-" ".max"))
|
||||
(cmd (format "%s --very-quiet -r 'batchload(%S)$' %s"
|
||||
org-babel-maxima-command in-file cmdline)))
|
||||
(cmd (format "%s --very-quiet -r %s$ %s"
|
||||
org-babel-maxima-command
|
||||
(shell-quote-argument
|
||||
(format "batchload(%S)" in-file))
|
||||
cmdline)))
|
||||
(with-temp-file in-file (insert (org-babel-maxima-expand body params)))
|
||||
(message cmd)
|
||||
;; " | grep -v batch | grep -v 'replaced' | sed '/^$/d' "
|
||||
|
|
Loading…
Reference in a new issue