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 <[email protected]> wrote:

> Supriya Sawant <[email protected]> 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