poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / execlp.texi
blob89351194df67342a038fa7063a1345ed4800ad05
1 @node execlp
2 @section @code{execlp}
3 @findex execlp
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/execlp.html}
7 Gnulib module: execlp
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 Portability problems not fixed by Gnulib:
26 @itemize
27 @item
28 On some platforms, a script without executable permission is still run:
29 Cygwin 1.5.x.
30 @end itemize