From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: Ken Raeburn <raeburn@raeburn.org>, emacs-devel@gnu.org
Subject: Re: Async commands in M-x compile
Date: Thu, 01 Jul 2010 02:57:43 +0300 [thread overview]
Message-ID: <87eifo9iq0.fsf@kobe.laptop> (raw)
In-Reply-To: <87k4pgkfkh.fsf@gmail.com> (Antoine Levitt's message of "Wed, 30 Jun 2010 11:58:06 +0200")
On Wed, 30 Jun 2010 11:58:06 +0200, Antoine Levitt <antoine.levitt@gmail.com> wrote:
> Ken Raeburn <raeburn@raeburn.org> writes:
>
>> On Jun 29, 2010, at 18:43, Antoine Levitt wrote:
>>> Hello,
>>>
>>> Can someone explain to me why compile doesn't support asynchroneous
>>> commands, and especially why it silently fails instead of displaying an
>>> error message? I don't understand the mechanism involved here.
>>
>> The program run -- the shell -- exits (after having started some other
>> program in background). The compilation command has finished, and
>> exited with an exit status that indicates success. So, you're done.
>> I could argue that it "succeeded", though apparently not at doing
>> whatever it is that you think it should do.
>
> Yes, I would completely agree with that, except it _doesn't_ start the
> program. Try running "xclock &"
It may be starting the program and killing it too fast, e.g. because the
parent shell reaps its child processes before it exits. Can you try
running a "nohup sh foo.sh" script that spawns the echo redirection to
see if this is indeed the case?
next prev parent reply other threads:[~2010-06-30 23:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 22:43 Async commands in M-x compile Antoine Levitt
2010-06-30 3:20 ` Ken Raeburn
2010-06-30 9:58 ` Antoine Levitt
2010-06-30 22:36 ` Dan Nicolaescu
2010-06-30 22:47 ` Antoine Levitt
2010-06-30 22:54 ` Dan Nicolaescu
2010-06-30 23:02 ` Antoine Levitt
2010-06-30 23:57 ` Giorgos Keramidas [this message]
2010-06-30 9:25 ` Thien-Thi Nguyen
2010-06-30 10:01 ` Antoine Levitt
2010-06-30 19:14 ` Thien-Thi Nguyen
2010-06-30 19:30 ` Antoine Levitt
2010-06-30 21:20 ` Thien-Thi Nguyen
2010-06-30 21:51 ` Andreas Schwab
2010-06-30 22:23 ` Antoine Levitt
2010-07-01 1:30 ` Stefan Monnier
2010-07-01 7:46 ` Jan Djärv
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=87eifo9iq0.fsf@kobe.laptop \
--to=keramida@ceid.upatras.gr \
--cc=antoine.levitt@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=raeburn@raeburn.org \
/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.