poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / execvp.texi
blob0c242b28aa423c35b9608d4e068de79c5b93d6ee
1 @node execvp
2 @section @code{execvp}
3 @findex execvp
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/execvp.html}
7 Gnulib module: execvp
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