X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:subject:references:from:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=LsMxW r9YVPEqqw4ndca4yEHBC91GVWGqngpHDASPS9YKaEMW4ApnoSW2SCB5Of4wPqWNM f37Mm6gI9NcEAeQ8cif8Y8rUdDDX1x1oxjBcHLhCtWgSvA+sYEc8yYPXZOBhwhaT 91f3AJy/+RSMBsYAMzuo9qisToYq8gNhbbBUVM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:subject:references:from:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=RgkeBzq1dt4 kaJuE1ayRwOgZnxU=; b=BTRIvrfmigAuBGDIJ4DFTKkRdVNRwZzo3POZyp15dZv ZDTDPkDSLw5fUTzqAZobuzNuX2+AVAIBQOliEJpN/nwDAb4irQn3fRBlkr/peKF8 6FM9i2NwrcBdXFe2U+sgXsoDGUvMUpTooTROqNec7DZxpg3ulkRXOKBaW8EN3PTo = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_20,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nougat.ucs.ed.ac.uk To: cygwin AT cygwin DOT com Subject: Re: emacs 24.3.1: output from async-shell-command is not always displayed References: <86zjhbpf9b DOT fsf AT w2139spb DOT ru DOT yotateam DOT com> <53A0EF03 DOT 8060001 AT cornell DOT edu> <86lhsupj6c DOT fsf AT w2139spb DOT ru DOT yotateam DOT com> From: ht AT inf DOT ed DOT ac DOT uk (Henry S. Thompson) Date: Wed, 18 Jun 2014 14:36:40 +0100 In-Reply-To: <86lhsupj6c.fsf@w2139spb.ru.yotateam.com> (Filipp Gunbin's message of "Wed\, 18 Jun 2014 15\:10\:35 +0400") Message-ID: User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b33 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-IsSubscribed: yes Filipp Gunbin writes: > When I call such a script (catalina.sh, for example), its output is > displayed in *Asynchronous Shell Command*, but the program starting from > it with & (java usually) is not started (or started and killed > immediately). I supposed that maybe it's killed when the parent process > finishes. From looking at lisp code of async-shell-command I can't see > anything which differs from shell-command in this way. I tried to > narrow the problem and got the case I've posted here initially, but now > I think those could be different problems. This sounds very much like it _may_ be the same problem as discussed (at inconclusive length, sorry!) wrt xemacs in this thread: http://lists.xemacs.org/pipermail/xemacs-beta/2014-January/024736.html I've burned a lot of midnight oil on that one, with no real joy as yet. At the very least it does seem like there was some change in Cygwin pty/signal area some time back which affects the way emacsen try to communicate with sub-processes. . . ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple