Hash :
6b1f8243
Author :
Date :
2020-12-26T14:39:39
execle: New module. * lib/execle.c: New file. * m4/execle.m4: New file. * modules/execle: New file. * doc/posix-functions/execle.texi: Mention more Windows problems and the new module.
@node execle
@section @code{execle}
@findex execle
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/execle.html}
Gnulib module: execle
Portability problems fixed by Gnulib:
@itemize
@item
On Windows platforms (excluding Cygwin), this function does not pass
command-line arguments correctly if they contain space, tab, backslash,
or double-quote characters.
@item
On Windows platforms (excluding Cygwin), this function spawns an asynchronous
child process and then exits the current process immediately. As a
consequence, the parent of the current process 1. may incorrectly proceed
as if its child had exited, and 2. will never see the child's exit status.
@item
On Windows platforms (excluding Cygwin), the return type of this function is
@code{intptr_t}, not @code{int}.
@end itemize
Note: The Gnulib replacement for this function is not async-safe, that is,
it must not be invoked from a signal handler.
Portability problems not fixed by Gnulib:
@itemize
@item
On some platforms, a script without executable permission is still run:
Cygwin 1.5.x.
@end itemize