util: added samba_runcmd()
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Feb 2010 07:18:05 +0000 (18:18 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 17 Feb 2010 08:43:32 +0000 (19:43 +1100)
commit8756e130098254564ebbfb878efdc9f2a24a0696
tree9934a529941d3afc50762f063b4ef830d04989c6
parent5c716146e8aee16b46a2144c199b922c13fd00ba
util: added samba_runcmd()

This allows us to run a child command in an async fashion, with
control over logging of stdout and stderr (which appears in the Samba
log file). This is useful for ensuring we don't miss important
messages from rndc commands (for example).

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
lib/util/config.mk
lib/util/util.h
lib/util/util_runcmd.c [new file with mode: 0644]