DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53L8N4br870288 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53L8N4br870288 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=aT4xWKVi X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28A0B3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1745223782; bh=vLvYQGATE3Vp7I66nRiez8hiQNXXQh8lOzO20rKvyEY=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=aT4xWKVijNAejt/diK8KzXAXjM7+EXiwfWwghJj54R8bs3JRujCe5JX2SgquX+V4j AozMg2HgoAZiQtS0DX/lx1Uan1DEI1tQ+wcC3KlhjbIIplCocIt9oMAeuaRLjp4qoK woiw3ljKs64iZgPoiMtkmF8eotEr4rkcgjjsFT8I= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F29B23858D37 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F29B23858D37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745223683; cv=none; b=T8lzrqMpgoALGS+Rp14+lJqJ1ngeGZxaPxvivO2ximNC2fuLAYaZL5JAPz9BQvEhPQulYNx/R6C81rNmeflond/B9OXyd/n40kr4uWFKTUS1O7sOzV8PkTXflEhfPzuQPH1IysmZLNTJsmmpjb3PUw6qDe6P+W3wP4h8rORKLjo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745223683; c=relaxed/simple; bh=6Rq/SSckV4UWJi4Fqy+aG9AiDUzqu8QeeGFHL667BAA=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=bFlm6fWxWflOc2OnZzB5E6+OpSpEoIpX48OGikzrL5WJ4iGnSNwYGDjbJLO8JoFWrmjVX169LhhprgQvZ0LmYO2TIqHvUl0vqxiVuEjp/IkwZhqZ8GYX3pA3P1PyPM3XJ0vAAmkm4Ajw22HIZXMOH8Rv9LAse1z5/IF93wq1PMw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F29B23858D37 Message-ID: Date: Mon, 21 Apr 2025 01:21:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: posix_spawn To: cygwin-apps AT cygwin DOT com Cc: The Cygwin Mailing List References: <87plh7x4qp DOT fsf AT maguirefamily DOT org> Content-Language: en-US In-Reply-To: <87plh7x4qp.fsf@maguirefamily.org> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mark Geisert via Cygwin Reply-To: Mark Geisert Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 4/19/2025 1:42 PM, Camm Maguire via Cygwin-apps wrote: > Greetings! > > posix_spawn is returning non-zero without setting errno: > > massert(!posix_spawnp(&pid, *p1, &file_actions, &attr, (void *)p1, environ)); > > Is this intended to be supported? Is it known to be working or not > working elsewhere? This kind of question should be sent to the main Cygwin mailing list cygwin AT cygwin DOT com, now CC'd. Please follow up there if necessary. On failure, posix_spawnp() returns the error number rather than setting errno. This is a convention followed by some number of the posix_*() functions; which ones is a question for readers of the POSIX standard ;-). ..mark -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple