* exec fails with native programs
@ 2019-07-14 19:09 Steven Penny
0 siblings, 0 replies; only message in thread
From: Steven Penny @ 2019-07-14 19:09 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-14 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-14 19:09 exec fails with native programs Steven Penny
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).