Richard W.M. Jones
5090c576e3
Add a ./run script for running programs from the local directory.
...
With this script you can run libvirt programs without needing to
install them first. You just have to do for example:
./run ./tools/virsh [args ...]
If you are already in the tools/ subdirectory, then the following
command will also work:
../run ./virsh [...]
You can also run the C programs under valgrind like this:
./run valgrind [valgrind opts...] ./program
or under gdb:
./run gdb --args ./program
This also works with sudo (eg. if you need root access for libvirt):
sudo ./run ./tools/virsh list --all
Derived from libguestfs and simplified. The ./run script in
libguestfs is much more sophisticated:
https://github.com/libguestfs/libguestfs/blob/master/run.in
2012-09-18 10:59:16 +01:00
..
2012-02-01 16:28:17 -07:00
2012-02-03 15:27:16 -07:00
2012-02-03 15:27:16 -07:00
2012-02-03 10:02:34 -07:00
2012-09-18 14:42:29 +08:00
2006-01-23 22:55:41 +00:00
2012-08-10 10:54:23 +02:00
2012-08-10 10:58:54 +02:00
2012-08-22 15:34:07 -06:00
2012-09-17 21:28:08 -06:00
2012-09-12 10:35:59 +08:00
2011-10-28 10:11:16 +01:00
2010-10-27 15:01:45 +11:00
2011-04-01 16:03:11 -06:00
2012-05-14 15:15:58 +01:00
2011-02-09 12:29:29 -07:00
2012-08-22 15:34:07 -06:00
2012-09-18 10:59:16 +01:00
2011-01-05 18:07:30 +11:00
2010-11-30 02:22:38 +11:00
2010-10-27 15:01:45 +11:00
2010-10-27 15:01:45 +11:00
2010-12-21 20:55:10 +11:00
2012-08-22 15:34:07 -06:00
2011-11-01 18:45:42 +01:00
2011-08-26 17:52:55 +02:00
2012-02-03 11:32:51 -07:00
2012-04-16 17:02:08 +02:00
2012-08-15 16:39:40 +08:00
2012-08-22 15:34:07 -06:00
2012-08-22 15:34:07 -06:00
2011-07-15 13:19:41 -06:00
2011-10-29 19:50:48 +02:00
2011-07-15 13:19:41 -06:00
2012-08-22 15:34:07 -06:00
2010-07-10 22:47:00 +10:00
2011-11-30 10:12:30 +00:00
2012-09-18 14:42:29 +08:00
2012-08-17 15:43:26 -04:00
2012-08-22 15:34:07 -06:00
2012-08-22 15:34:07 -06:00
2011-10-28 11:34:17 -06:00
2011-09-05 07:03:04 -06:00
2012-08-02 17:14:17 -06:00
2011-04-01 16:03:11 -06:00
2011-03-28 10:40:24 +08:00
2010-11-12 19:47:20 +01:00
2012-09-08 23:20:29 -04:00
2012-09-11 16:45:54 +02:00
2012-06-13 18:23:00 +01:00
2012-07-30 13:09:57 +01:00
2011-08-26 17:52:55 +02:00
2011-02-18 08:59:51 +01:00
2011-04-01 16:03:11 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:11:16 +01:00
2012-07-23 16:07:13 -06:00
2011-10-28 10:07:45 +01:00
2012-06-18 20:10:29 +01:00
2012-08-22 15:34:07 -06:00
2012-08-17 21:26:53 +02:00
2012-09-05 12:05:55 -06:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2011-10-28 10:11:16 +01:00
2011-10-28 10:07:45 +01:00
2012-05-10 14:50:39 -06:00
2011-08-12 07:35:19 -06:00
2012-08-31 20:41:06 +08:00
2011-10-28 10:11:16 +01:00
2006-01-23 13:24:07 +00:00
2012-09-11 17:36:03 +02:00
2012-08-10 10:58:54 +02:00
2011-02-09 12:29:29 -07:00
2012-02-09 14:28:40 -07:00
2012-06-11 11:36:07 -06:00
2012-08-24 15:50:20 +02:00
2012-08-10 10:58:38 +02:00
2012-08-10 10:58:38 +02:00
2012-08-10 10:54:23 +02:00
2012-05-07 10:50:53 -04:00
2012-07-18 20:08:27 +01:00
2011-10-28 10:11:16 +01:00
2010-12-02 16:00:47 -07:00
2011-05-11 19:18:38 +08:00
2011-05-11 08:18:04 -06:00
2011-05-11 19:18:38 +08:00
2010-10-12 11:26:52 +01:00
2012-07-30 13:09:57 +01:00
2012-05-14 15:15:58 +01:00
2011-01-11 07:33:15 +11:00
2011-04-01 16:03:11 -06:00
2010-11-12 19:47:20 +01:00