From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95457 invoked by alias); 14 Jul 2019 19:09:06 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 95449 invoked by uid 89); 14 Jul 2019 19:09:05 -0000 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 Received: from mail-oi1-f177.google.com (HELO mail-oi1-f177.google.com) (209.85.167.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 14 Jul 2019 19:09:04 +0000 Received: by mail-oi1-f177.google.com with SMTP id g7so11058842oia.8 for ; Sun, 14 Jul 2019 12:09:04 -0700 (PDT) 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== Return-Path: Received: from LYb ([2605:6000:9fc0:56:6045:8f05:def0:5b7]) by smtp.gmail.com with ESMTPSA id k18sm5387716oib.56.2019.07.14.12.09.01 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 14 Jul 2019 12:09:01 -0700 (PDT) Message-ID: <5d2b7dcd.1c69fb81.a5151.486e@mx.google.com> Date: Sun, 14 Jul 2019 19:09:00 -0000 From: Steven Penny To: cygwin@cygwin.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) X-SW-Source: 2019-07/txt/msg00109.txt.bz2 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