This is the mail archive of the
cygwin
mailing list for the Cygwin project.
exec fails with native programs
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 14 Jul 2019 12:09:01 -0700 (PDT)
- Subject: exec fails with native programs
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