delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/02/27/00:55:36

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 825D43858C3A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1709013334;
bh=BALWZCPJyl05ADhdo84+Zmeb0xqVFleDTRf1PW65f5c=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=xsqKkC1qUMGtgsdyrp5MPIoBzclGEE1/I3QwCWvMYqmpO7LJjz9xAnJ656iNa2TSM
jHY1OZ5Xt+etY89mwnJc7kep8FFZdLSKL+SmQ+o72oNRLPP//Cs5foO0Va7Np6fEJb
zjkSEoPo3Rond/FLzofQSNCLMS7joT5PTM1zXMjQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7C3593858C54
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7C3593858C54
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709013313; cv=none;
b=IhtLfOo7dKj3xumOwEObJuQHah6kktB7B9p/seE9peYFuxwgNzdhIdAgKSZirW4u0Ih653/PgjaZ+FbAsTFH/dSuT6iDZad7e7T6Om/xLUIb97euT48i+k2v0E1HSsmVncYXqvgZ8mgKFVXWe8CqGbOIt6d1CwMKtI7pUx5hcHg=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1709013313; c=relaxed/simple;
bh=MAITHebsCXuk6d/ag5zuVCJphAhhr4t+1Z+LJ9pVYvI=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=xS2Qiw1m8G/o1bIa677magz248jDzpmkBUx1JatoEGZfWfdynnKgHAfiGdzzTvSEdDfpfjjxfKbTAfFkwZv1wnYXmhWTgO3io7w1VkVVmrCXmqroa7CDtyKLkRsWX46X5bJ+BVgHYC+qjDcjuBjqYbcEmHmrciC1swlONQgjWig=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1709013309; x=1709618109;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=63l9q3M36nqGwagm6HbcLJJKP1HQeqMTKxs1En0rQho=;
b=ifQeEQeb4vNDYbeNm8fw3gKBOwFVY8dsaDF6/9NwKKre5eSiLm9NIF7Puc99emQaYk
NeHAAVEAJr3nqXqYxZa1X4fqBC6y/U1fNrwsX9GDc7YzXd5iPd4KZjEecqm1RojOdGYa
O+fA8Z7xlhGMm12hKeDLiTeAiE2ERxxlAIHciWmdg3F3alRqvcuEc7iMCCn5ymsbeGLp
IN2AQuWtCTMm+RLNPWuc6pZlw5CnPyIMCo1PbVseyBPnvucZ4vz1VwWqB0rq8BdvKIXr
Iw6v+1GV3+gs+6Rde0ZhxgZOFIGtQhvz+AVczJKzXcecMuUcz3FYqxgmJYplsXR72ORO
z4gw==
X-Gm-Message-State: AOJu0Yykq0C7WUoPBFbpwq6Z3QX2lYRYWR8fAbaAPRiBtk72gS3hYdii
3qe6rtwyFmKc9RW4RvuLU5hYsmnY4jzfg7d/KkYlr56yTg9z6HNSy+8lTK5vXG5IPOMfjcQ8Uq1
r+R2ijdeDDrIdGRr2KZXHAcYYGLz7LUae
X-Google-Smtp-Source: AGHT+IF8/C21kwzkoLAiBXOEPbPGpZIkiFeRyUevS7VBeq2+RWieqIcbzLu92GCxDO4TMhGhiJGtnBPcFceiVDtNMT4=
X-Received: by 2002:a2e:9791:0:b0:2d2:2e2f:97f6 with SMTP id
y17-20020a2e9791000000b002d22e2f97f6mr4738801lji.50.1709013309433; Mon, 26
Feb 2024 21:55:09 -0800 (PST)
MIME-Version: 1.0
References: <CAAvCNcCSaRBKYwd8-bU_rRh+m9LajyAVSHi3vH_3iaxwg1GE-Q AT mail DOT gmail DOT com>
<00ca6f45-aef6-4d0c-9440-8a00b2de487a AT SystematicSW DOT ab DOT ca>
In-Reply-To: <00ca6f45-aef6-4d0c-9440-8a00b2de487a@SystematicSW.ab.ca>
Date: Tue, 27 Feb 2024 06:54:42 +0100
Message-ID: <CAAvCNcDeYwhpq4Q9ftRgq3oErZNiS=x7DaLr-Lt6gAzG-npGfA@mail.gmail.com>
Subject: Re: Native posix_spawn() in Cygwin?
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Dan Shelton via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dan Shelton <dan DOT f DOT shelton AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Tue, 27 Feb 2024 at 06:47, Brian Inglis via Cygwin <cygwin AT cygwin DOT com> wrote:
>
> On 2024-02-26 20:23, Dan Shelton via Cygwin wrote:
> > Does Cygwin implement a native, i.e. without form(),exec(), implementation of posix_spawn()?
>
> Check the API compatibility docs online:
>
>         https://cygwin.com/cygwin-api/compatibility.html#std-susv4
>
> or optional locally installed package cygwin-doc:
>
>         /usr/share/doc/cygwin-doc/html/cygwin-api/compatibility.html#std-susv4

That document does not answer my question.

I know posix_spawn() is there. But the question is: Does it use just
Cygwin fork(),exec(), or the native Win32 spawn() api?

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

-- 
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

- Raw text -


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