all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "François Fleuret" <francois.fleuret@REMOVEIFYOUDONTSPAMepfl.ch>
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	[thread overview]
Message-ID: <87r7oo6k37.fsf@fleuret.homeunix.org> (raw)
In-Reply-To: 87u0tmovte.fsf@fleuret.homeunix.org

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

  reply	other threads:[~2004-09-27 11:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r7oo6k37.fsf@fleuret.homeunix.org \
    --to=francois.fleuret@removeifyoudontspamepfl.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.