#include <stdlib.h>
#include "hlrmisc.h"
#include "log.h"
Go to the source code of this file.
Functions | |
int | hlr_system (char *cmd, int nonZeroOK) |
Execute shell command. |
Definition in file hlrmisc.c.
int hlr_system | ( | char * | cmd, | |
int | nonZeroOK | |||
) |
Execute shell command.
[in] | cmd | |
[in] | nonZeroOK | If 1, then a non-zero exit status from system is tolerated. If 0, then a non-zero exit status from system leads to a die() |