diff options
| author | Richard W.M. Jones <rjones@redhat.com> | 2012-10-17 14:31:33 +0100 |
|---|---|---|
| committer | Richard W.M. Jones <rjones@redhat.com> | 2012-10-18 21:52:08 +0100 |
| commit | 2e90f4312928f332f8997b52be3fe54f20920242 (patch) | |
| tree | fc5365fbcd79d5ba261bb7c72b251f5531fb75ce /po | |
| parent | 2dab72794eef55f941cc61f1f34baa9fc7988298 (diff) | |
| download | libguestfs-2e90f4312928f332f8997b52be3fe54f20920242.tar.gz libguestfs-2e90f4312928f332f8997b52be3fe54f20920242.tar.xz libguestfs-2e90f4312928f332f8997b52be3fe54f20920242.zip | |
lib: Add a new 'command' mini-library for running external commands.
This is a wrapper or mini-library for running external command,
loosely based on libvirt's virCommand interface.
Amongst the advantages are:
- Can redirect errors into the error log (RHBZ#713678).
- Can redirect output into a callback function.
- Handles shell quoting properly.
- Safely resets signal handlers, closes file descriptors, etc.
- Single place where we can implement other improvements in future.
Diffstat (limited to 'po')
| -rw-r--r-- | po/POTFILES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/po/POTFILES b/po/POTFILES index 1de4fc05..a73377d7 100644 --- a/po/POTFILES +++ b/po/POTFILES @@ -218,6 +218,7 @@ ruby/ext/guestfs/_guestfs.c src/actions.c src/appliance.c src/bindtests.c +src/command.c src/dbdump.c src/errnostring-gperf.c src/errnostring.c |
