|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] libxl: execute command by execvp()
execute command by execvp() so can search command in PATH.
Signed-off-by: Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
diff -r 12f0618400de -r da4c3756920e tools/libxl/libxl_exec.c
--- a/tools/libxl/libxl_exec.c Fri Jul 16 13:54:44 2010 +0100
+++ b/tools/libxl/libxl_exec.c Tue Jul 20 02:14:44 2010 +0800
@@ -53,7 +53,7 @@
/* in case our caller set it to IGN. subprocesses are entitled
* to assume they got DFL. */
- execv(arg0, args);
+ execvp(arg0, args);
_exit(-1);
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] libxl: execute command by execvp(),
Yu Zhiguo <=
|
|
|
|
|