Is it possible to redirect or get the output of batch mode command in
variable.


cmd = emacs --batch --eval '(message (org-version))'

ouput=cmd

print output

i.e output contains version no.(output=7.9.3f)


On Wed, Apr 23, 2014 at 12:00 PM, Bastien <b...@gnu.org> wrote:

> Supriya Sawant <sp.sawan...@gmail.com> writes:
>
> > emacs --batch --eval '(org-version)'
> >
> > but it doesn't work. It gives me blank result.
>
> emacs --batch --eval '(message (org-version))'
>
> HTH,
>
> --
>  Bastien
>



-- 

Thanks & Regards,
Supriya Pravin Sawant

Reply via email to