Re: [Siglinux] calling shell w/in elisp

2003-12-29 Thread Anthony Liguori
William L. Jarrold wrote: Thanks a bunch. Trouble is I get 0 returned. I wished I got the string ... echo Testing shell command ..returned. Hmm, how to deal with the returned value issue. See here is the problem...I just did... (shell-command "echo Testing") shell-command ouputs to a buffe

Re: [Siglinux] calling shell w/in elisp

2003-12-11 Thread William L. Jarrold
Thanks again. I would never have thought of that. It is getting closer but still not quite there. With my point just after the defun of shell-command-to-string I did c-x c-e. Then I did c-x c-e right after (shell-comment-to-string "echo hello"). I got "hello^J" in my minibuffer but alas not in

Re: [Siglinux] calling shell w/in elisp

2003-12-11 Thread William L. Jarrold
Thanks a bunch. Trouble is I get 0 returned. I wished I got the string ... echo Testing shell command ..returned. Hmm, how to deal with the returned value issue. See here is the problem...I just did... (shell-command "echo Testing") ...and I got a 0 as the returned value but for the firs