Manpages

NAME

run, vrun − execute a command

LIBRARIES

Abz Library (-labz), Debug Library (-ldebug)

SYNOPSIS

#include <abz/run.h>

int vrun(const char *fmt, va_list ap);
int run(const char *
fmt, ...);

DESCRIPTION

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/

AUTHOR

Written by Abraham vd Merwe <abz [AT] blio.com>