From cb3e6477349c6f5cf509eec19893f88df0b3b7c4 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sat, 9 Feb 2013 14:18:24 -0700 Subject: [PATCH] org-babel-eval command instead of shell-command * lisp/ob-sql.el (org-babel-execute:sql): Use the org-babel-eval command instead of shell-command. --- lisp/ob-sql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el index 51cafe616..3586ec9cd 100644 --- a/lisp/ob-sql.el +++ b/lisp/ob-sql.el @@ -135,7 +135,7 @@ This function is called by `org-babel-execute-src-block'." (t "")) (org-babel-expand-body:sql body params))) (message command) - (shell-command command) + (org-babel-eval command "") (org-babel-result-cond result-params (with-temp-buffer (progn (insert-file-contents-literally out-file) (buffer-string))) -- 2.11.4.GIT