delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/18/16:20:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Joe Buehler <jbuehler AT hekimian DOT com>
Subject: spawnve() problem
Date: Tue, 18 Mar 2003 16:20:10 -0500
Organization: Spirent Communications, Inc.
Lines: 14
Message-ID: <b582i8$fe4$1@main.gmane.org>
Reply-To: jbuehler AT hekimian DOT com
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
X-Enigmail-Version: 0.73.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime

It looks like I am having a problem with spawnve().  Compiling
the AT&T ksh93 to use spawn instead of fork/exec improves performance,
but unfortunately Cygwin's spawnve() implementation appears to
reset signal handlers to default values in the new process.

This can cause shell script malfunctions -- signals that should
be ignored instead cause process termination.

Am I correct?

Any chance of changing this behavior so SIG_DFL and SIG_IGN are inherited?
-- 
Joe Buehler



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019