run3abz
Execute a command
Usage
#include <abz/run.h> int vrun(const char *fmt, va_list ap); int run(const char *fmt, ...);
Libraries
Abz Library (-labz), Debug Library (-ldebug)
Overview
Each function in the run family executes a command with the specified printf-style parameters. All input and output of the specified program is discarded.
Return value
These functions all return 0 if successful, -1 if some error occurred. Call abz_get_error() to retrieve error messages.
Notes
None of the libabz routines are thread-safe. I'm not planning to change this either! For more information, please see http://threading.2038bug.com/