2 @section @code{posix_spawn}
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html}
7 Gnulib module: posix_spawn
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
13 FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, Cygwin 1.7.x, mingw, MSVC 14, Android 8.1.
15 When this function fails, it causes the stdio buffer contents to be output
16 twice on some platforms:
19 When the program to be invoked is an executable script without a @samp{#!}
20 marker in the first line, this function executes the script as if it were
21 a shell script, on some platforms:
25 Portability problems not fixed by Gnulib:
28 This function does not work on some platforms:
29 AIX 6.1 (under particular circumstances).
32 The Gnulib modules @code{posix_spawn_file_actions_addchdir} and
33 @code{posix_spawn_file_actions_addfchdir} provide additional actions,
34 that consist in changing the current directory of the child process
35 before starting the specified program.