summaryrefslogtreecommitdiff
path: root/doc/posix-functions/execvp.texi
blob: 0c242b28aa423c35b9608d4e068de79c5b93d6ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@node execvp
@section @code{execvp}
@findex execvp

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/execvp.html}

Gnulib module: execvp

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

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