diff options
author | Bruno Haible <bruno@clisp.org> | 2020-12-26 14:28:16 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-12-26 14:28:16 +0100 |
commit | 0e3778b00c4e4705cccec9261ef36c66c400e1fe (patch) | |
tree | c050394cf2011f2eb1089aab92383802aaa2843a /doc/posix-functions/execvp.texi | |
parent | 7c170cbc17521f6eb0199e78fcd18d8dddbb12b4 (diff) | |
download | gnulib-0e3778b00c4e4705cccec9261ef36c66c400e1fe.tar.gz |
execvp: New module.
* lib/execvp.c: New file.
* m4/execvp.m4: New file.
* modules/execvp: New file.
* doc/posix-functions/execvp.texi: Mention more Windows problems and the
new module.
Diffstat (limited to 'doc/posix-functions/execvp.texi')
-rw-r--r-- | doc/posix-functions/execvp.texi | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/doc/posix-functions/execvp.texi b/doc/posix-functions/execvp.texi index 24a3f063ea..0c242b28aa 100644 --- a/doc/posix-functions/execvp.texi +++ b/doc/posix-functions/execvp.texi @@ -4,10 +4,22 @@ POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/execvp.html} -Gnulib module: --- +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: @@ -15,8 +27,4 @@ Portability problems not fixed by Gnulib: @item On some platforms, a script without executable permission is still run: Cygwin 1.5.x. -@item -On Windows platforms (excluding Cygwin), this function operates by spawning -and then by exiting the current process, which means the current -process's parent may incorrectly proceed as if its child had exited. @end itemize |