From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Subject: exec fails with native programs
Date: Sun, 14 Jul 2019 19:09:00 -0000 [thread overview]
Message-ID: <5d2b7dcd.1c69fb81.a5151.486e@mx.google.com> (raw)
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
reply other threads:[~2019-07-14 19:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d2b7dcd.1c69fb81.a5151.486e@mx.google.com \
--to=svnpenn@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).