[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Starting with batch-mode
From: |
Decebal |
Subject: |
Starting with batch-mode |
Date: |
Tue, 30 Sep 2008 00:22:31 -0700 (PDT) |
User-agent: |
G2/1.0 |
I am starting to work with batch-mode in Emacs.
I have a test.el (nothing fancy) with:
(defun testing ()
(princ "Dit is een test\n")
)
I call this with:
time emacs -batch -nw -l ~/test.el --eval="(testing)"
This works, but generates a lot of output on stderr. I could get rid
of this with:
time emacs -batch -nw -l ~/test.el --eval="(testing)" 2>/dev/null
But then I can not use stderr in my script. Is there a way around
this?
- Starting with batch-mode,
Decebal <=