X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 633FD3858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1709522883; bh=yffixBVYvCzhpvPtG02osvJf6v90n3JfxfQb+ZbYtlA=; 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=eDF7Vdnlogyko6Q4MI3+glSyArJ8cuYPrDKz/NQniWWsN3RzEIIUktIfI7q21MZZ6 oXFvoos+RfPV6QpgP6Wqo/hVah8lr2VV0X8cPw54BYg0j8SBMlNf0odQS2cJ2U1SKN D5OHL47nQ6hnGI6Tr+Ae9UfPCVVpd8pC8vPWipM0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E6BF3858D28 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9E6BF3858D28 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709522833; cv=none; b=naUyJYSuxls0SG92z18EeVz1sqhSt30gs9jteoMuUzBe3U75Tu0uyZx/8sTGYYdX5UbaJUHVf+j7lCE/jRk4H7Qj//lGnwJtq1T6PGZKCFqGFNxAPoxIvgoodXqyIjmgbTfVfVIH9aoVb1Pd8nDO6y1YJViY18L9aqKKXv3KnlA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709522833; c=relaxed/simple; bh=ULZPEl/8bDddGvHb1fDsJUDGLB0DCwr95TmDTjqT5cc=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=IVtX8JHXrmH4Y5a6BnZpaDyClmkGdww27AhIYDYfghG8qVBcU8E1d8LRjqSAgwF8N/TpSc9icVfBGGmwYMCppgLFL8GCCLMDSc32KtQHINiHBvgXzPa1dFCA/tP6ZOQW2BXuZlKnH6suuO5qEhNHxFmaBgCCSsFNjTnWRq93H+M= 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=1709522830; x=1710127630; 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=AksnGMiXuYjQ3fpMg6JI89YgMnaZGALBwweLhh/q06Q=; b=mU17pWcyC+6I/6NLgjVFzLiHBa7bESAjiBsGkJqheuuM9s+KiAY0nQFCNFPhQNv2g3 ntXW2QbSv20Zie/Q0xVJ5BngO/R2J6vPf7Rbx6i2kVCcD/AYjLcSVvWw8K1vBbS5ilac Z0YN2sEn6O3cYHLzDqq9bZC6Tk5VPFTaZ2ZeulQviY4HAwUVz9NliygzxyPgvXaMnAMS AqId5bUHMciyLM6hULpB5llivZIBb6M5AfMZaJbwH4+5DDshbLlVRD/N+eVeGP+zCsZ5 TQrYn1DYZsx3qX9WeHMsBu95glbjwapm2zpN1pTEIj0eVGaLxHo4avmyRNTvMsf4eBF7 iTng== X-Gm-Message-State: AOJu0YygOtl00WFsEcqPdafZGuB2UWXiSFBQ11qL4tnuhRDSONQ5DwRI s4I9Zpm0D7DLSwj4QoSCbbxlKX/HpPithtVoCekXmjToqAHRW6kWQ6D3v+PXUQIbGz++hgH6SIW /b7ZhhdPkLHL4Jf6HikMJsMiZF4NxDn2n X-Google-Smtp-Source: AGHT+IEJdgWaEXPgJvZhOJJW3ubePuKCRMyK2mJPrjcnM48FMKn8Xsa1ruBykFzGvbs/3SFP7TifgFB467vk6HusEzg= X-Received: by 2002:a05:6512:ac2:b0:513:3d26:7cbd with SMTP id n2-20020a0565120ac200b005133d267cbdmr2907351lfu.15.1709522829629; Sun, 03 Mar 2024 19:27:09 -0800 (PST) MIME-Version: 1.0 References: <00ca6f45-aef6-4d0c-9440-8a00b2de487a AT SystematicSW DOT ab DOT ca> In-Reply-To: Date: Mon, 4 Mar 2024 04:27:00 +0100 Message-ID: Subject: Re: Native posix_spawn() in Cygwin? To: cygwin AT cygwin DOT com X-Spam-Status: No, score=0.3 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Dan Shelton via Cygwin Reply-To: Dan Shelton Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Tue, 27 Feb 2024 at 07:34, wrote: > > On Tue, Feb 27, 2024 at 06:54:42AM +0100, Dan Shelton via Cygwin wrote: > > On Tue, 27 Feb 2024 at 06:47, Brian Inglis via Cygwin 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 > > If you were going to make a small effort to answer the question > yourself, you could use strace, you could step through a debugger, or > you could check the source code. Have you tried any of these? What did > you find? If you are unable to take any of those steps, why does > posix_spawn() matter to you? strace does not help, as I need the Win32 calls BELOW posix_spawn(), to see the implementation details. 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