all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* A command ran from emacs receives a "signal 1" while it does not when run in a shell
@ 2004-09-25 21:58 François Fleuret
  2004-09-27 11:13 ` François Fleuret
  0 siblings, 1 reply; 4+ messages in thread
From: François Fleuret @ 2004-09-25 21:58 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-27 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-25 21:58 A command ran from emacs receives a "signal 1" while it does not when run in a shell François Fleuret
2004-09-27 11:13 ` François Fleuret
2004-09-27 13:09   ` Daniel Pittman
     [not found]   ` <mailman.4272.1096294098.1998.help-gnu-emacs@gnu.org>
2004-09-27 14:28     ` François Fleuret

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.