Hi Ken, Thanks for checking. You're right, I'm still on cygwin 3.2.0 because of issues with running make (see "GNU make losing jobserver tokens"). Tested with cygwin-3.3.5 and env seems to work. Sorry for the noise. Regards, Daniel
śr., 1 cze 2022 o 15:03 Ken Brown <kbr...@cornell.edu> napisał(a): > > On 6/1/2022 8:33 AM, Daniel Jeliński wrote: > > Hi all, > > As the title says. To reproduce: > > - create a file (test.sh) with the following contents: > > > > #!/usr/bin/env sh > > echo success > > > > - make it executable (chmod a+x test.sh) > > - execute (./test.sh) > > > > With coreutils-8.26-2 the script prints "success". With > > coreutils-8.32-1 and 9.1-1 nothing happens. > > Works for me. > > $ cat test.sh > #!/usr/bin/env sh > echo success > > $ ./test.sh > success > > $ cygcheck -cd coreutils > Cygwin Package Information > Package Version > coreutils 8.32-1 > > There must be something else going on in your environment. > > Ken > > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple