---
name: "run"
section: "3abz"
platform: "linux"
package: "libabz0-dev"
version: "0.5.1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/run/3abz"
---

# run(3abz)

execute a command

## 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@blio.com\>
