poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / execle.texi
blobe556260675563d4847a5d2ba9a299819deac5b4c
1 @node execle
2 @section @code{execle}
3 @findex execle
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/execle.html}
7 Gnulib module: execle
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 On Windows platforms (excluding Cygwin), this function does not pass
13 command-line arguments correctly if they contain space, tab, backslash,
14 or double-quote characters.
15 @item
16 On Windows platforms (excluding Cygwin), this function spawns an asynchronous
17 child process and then exits the current process immediately.  As a
18 consequence, the parent of the current process 1. may incorrectly proceed
19 as if its child had exited, and 2. will never see the child's exit status.
20 @item
21 On Windows platforms (excluding Cygwin), the return type of this function is
22 @code{intptr_t}, not @code{int}.
23 @end itemize
25 Note: The Gnulib replacement for this function is not async-safe, that is,
26 it must not be invoked from a signal handler.
28 Portability problems not fixed by Gnulib:
29 @itemize
30 @item
31 On some platforms, a script without executable permission is still run:
32 Cygwin 1.5.x.
33 @end itemize