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:message-id:date:from:to:subject:content-type; q=dns; s=default; b=qukpBxUT1ZSUoNLaFvRth7bbKQw7juZiZfJH02WNHUj 3XOCpjEjEm0yq08j/cS2+X0Re6qZaMGEAmDIV/7lC4vwpinW9/1pD7FyEATukEs4 V6LS6ynT8xevruk9MT3U8xjKo79AsU8sEEoX7SWLWTij0PwcRQ1dvkLKD02o6u74 = 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:message-id:date:from:to:subject:content-type; s=default; bh=uVceTu63WDmSp3x3ic2J/0NTTx0=; b=CC3ISiT7FK0oLhn5X lzqHztSYmGbVBhH9SYS84GZgKGJZnF2bBOyYbrTf/+OD0Eztc5omvO/P79p0K5sp mHqzwQUtWUT7SYsu3+cpVcEwPQKEvcVBJvUuowdEcybfxzTwFC4jBv6uVsoFFVLz 0tYoOfHr/Ru/nt1ihqTwXfTwZY= 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-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*UA:github.com, H*r:sk:AEAD-AE, H*r:TLS1_3, H*MI:1c69fb81 X-HELO: mail-oi1-f177.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:to:subject:user-agent; bh=mFe42HnysjPFdQx86PYxKR0MF6LFhGbb/U5JTZxzdXE=; b=jF2nt/+L8rqNvkcV6USFKN3apKf4egsd7ef/jkO4+usokrW/U2sHhsHEeOL9HEKJjq Xzqc/GtD3ByLzcGzAu0zaLynqLrk0BE1GKrA3oA731T4rPmLvsLONC3xaJXNHnzogqCr 9KiIs5fW2u98RP3Pe1HHSPKxItntHPG2Iziz7GOdZV+seuKHUMYWuFLD+Jj2fpOcvMeK eiPZ5iGBMliqaEJRhPlJzWBFgid/0Efju8brYuQjS/bFPAIeUrPZMRLM5ge9pylKqx+/ i38DjH6xKucx3dq32z8papn47Wj+72J94bHB8PKKufhsDQ/YLLSCC4N2JOiKpYdU+r+f 2mHQ== Message-ID: <5d2b7dcd.1c69fb81.a5151.486e@mx.google.com> Date: Sun, 14 Jul 2019 12:09:01 -0700 (PDT) From: Steven Penny To: cygwin AT cygwin DOT com Subject: exec fails with native programs Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Suede Mail/2.8.0 (github.com/cup/suede) If I am using the Cygwin package "python", for the purpose of demonstrating the problem I can write a script like this: #!/bin/sh exec python If I run this it will spawn an extra "sh.exe", but the extra shell will exit once Python has loaded. However if I use a native Python: https://python.org/ftp/python/3.7.4/python-3.7.4-embed-amd64.zip the same script will spawn an extra "sh.exe", but the extra shell will not exit until Python has exited. -- 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