]> git.ozlabs.org Git - petitboot/commit - lib/system/system.h
lib/system: Add pb_run_cmd_pipe
authorJeremy Kerr <jk@ozlabs.org>
Thu, 20 Jun 2013 05:27:16 +0000 (13:27 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 24 Jun 2013 05:07:58 +0000 (13:07 +0800)
commitc20a0460f3c9057aa920949414f8c3bd6529f927
tree9fa41a7f92482b7441049afcdb4528bcd0aef221
parent974853d86dd6328ec2aaf6b9ff5b56398942a902
lib/system: Add pb_run_cmd_pipe

Add a function to run a command and capture the output into a buffer.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/system/system.c
lib/system/system.h