[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A command ran from emacs receives a "signal 1" while it does not whe
From: |
François Fleuret |
Subject: |
Re: A command ran from emacs receives a "signal 1" while it does not when run in a shell |
Date: |
Mon, 27 Sep 2004 13:13:16 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Hi,
François Fleuret wrote on 25 Sep 2004 22:58:05 MET:
> 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".
If I invoke vlc through a wrapper shell-script of the form
,------------------
| #!/bin/bash
| vlc --intf rc
`------------------
there is no problem anymore. I do not understand a lot to the UNIX
signal handling thing, but is it possible that emacs sends a signal 1
to the invoked executable ?
Cheers,
--
François Fleuret