Mercurial > hg > octave-nkf > gnulib-hg
view doc/posix-functions/system.texi @ 17935:0ad1f4c9eed5 default tip
tests: support stderr verification with returns_()
* tests/init.sh (returns_): Disable tracing for this wrapper
function, so that stderr of the wrapped command is unchanged,
allowing for verification of the contents.
author | Pádraig Brady <P@draigBrady.com> |
---|---|
date | Mon, 16 Feb 2015 17:20:39 +0000 (2015-02-16) |
parents | 0bf7f277a1af |
children |
line wrap: on
line source
@node system @section @code{system} @findex system POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/system.html} Gnulib module: system-posix Portability problems fixed by Gnulib: @itemize @item The macros @code{WIFSIGNALED}, @code{WIFEXITED}, @code{WIFSTOPPED}, @code{WTERMSIG}, @code{WEXITSTATUS}, @code{WNOHANG}, @code{WUNTRACED}, @code{WSTOPSIG} are not defined in @code{<stdlib.h>} (only in @code{<sys/wait.h>}) on some platforms: MirBSD 10. @end itemize Portability problems not fixed by Gnulib: @itemize @item On Windows platforms (excluding Cygwin), the command processor used by the @code{system} function is @file{cmd.exe}, not @file{/bin/sh}. Accordingly, the rules for quoting shell arguments containing spaces, quote or other special characters are different. @end itemize