I wrote:
> The new tests/test-spawn-pipe-script.c test reveals that create_pipe_in
> returns an odd errno value when the program is an executable script without
> '#!' marker. This patch fixes it.
That patch fixed only the case when the program base name does not contain
a '.'. When it does contai
The new tests/test-spawn-pipe-script.c test reveals that create_pipe_in
returns an odd errno value when the program is an executable script without
'#!' marker. This patch fixes it.
2020-12-24 Bruno Haible
findprog-in: Improve errno upon failure on native Windows.
* lib/findpr
The posix_spawn implementation in gnulib comes from glibc as of 2008.
But in 2011 an important change was done in glibc: Remove the ability
to specify a script that does not start with a '#!' marker as executable.
Previously this file was /_assumed_/ to be a shell script.
Here are 3 patches:
- C