diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-16 19:17:55 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-16 19:17:55 (EST) |
commit | 603bec779ab8f0751bc48b0394aadd261fafdcde (patch) | |
tree | ae5483583ee4b4185500b68870c25b7e23cd52d6 /libopkg/xsystem.h | |
parent | cd3404e22aa9baba2c617ce4d4d7f53e3f54853c (diff) |
Use vfork()/execvp() instead of system().
Parts based on a patch by Mike Westerhof for OpenEmbedded.
git-svn-id: http://opkg.googlecode.com/svn/trunk@320 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/xsystem.h')
-rw-r--r-- | libopkg/xsystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/xsystem.h b/libopkg/xsystem.h index cc1ca2a..3c7a3d2 100644 --- a/libopkg/xsystem.h +++ b/libopkg/xsystem.h @@ -28,7 +28,7 @@ Otherwise, the 8-bit return value of the program ala WEXITSTATUS as defined in <sys/wait.h>. */ -int xsystem(const char *cmd); +int xsystem(const char *argv[]); #endif |