help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A command ran from emacs receives a "signal 1" while it does not when ru


From: François Fleuret
Subject: A command ran from emacs receives a "signal 1" while it does not when run in a shell
Date: Sat, 25 Sep 2004 23:58:05 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Hi,

I am trying to write an elisp application to control vlc, the
multi-media player and I have a weird bug.

Vlc can be run in such a mode that it gets commands in stdin and send
results in stdout. If ran from a bash shell (in an xterm), I can for
instance send it "add file://toto.mp3\n" and it will play the given
mp3, if I send "stop\n", it will stop playing and wait for more
commands.

If I set up a process in emacs with start-process, set-process-filter
and set-process-sentinel, and send the first string with
process-send-string, it will play the mp3. But if I send the second
string, it will stop and then it will tells me (in its stdout) "signal
1 received" and dies. The sentinel in emacs will get "finished".

Did I miss something here?

-- 
François Fleuret

reply via email to

[Prev in Thread] Current Thread [Next in Thread]