@node posix_spawn
@section @code{posix_spawn}
@findex posix_spawn

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/posix_spawn.html}

Gnulib module: posix_spawn

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Mac OS X 10.4, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 8.1.
@item
When this function fails, it causes the stdio buffer contents to be output
twice on some platforms:
AIX 6.1.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function does not work on some platforms:
AIX 6.1 (under particular circumstances), mingw.
@end itemize

The Gnulib module @code{posix_spawn_file_actions_addchdir} provides an
additional action, that consists in changing the current directory of
the child process before starting the specified program.
