qvm-run.rst 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. .. program:: qvm-run
  2. :program:`qvm-run` -- Run a command in a specified VM
  3. =====================================================
  4. Synopsis
  5. --------
  6. :command:`qvm-run` [options] *VMNAME* *COMMAND*
  7. :command:`qvm-run` [options] --all [--exclude *EXCLUDE*] *COMMAND*
  8. :command:`qvm-run` [options] --dispvm [*BASE_APPVM*] *COMMAND*
  9. Options
  10. -------
  11. .. option:: --help, -h
  12. Show the help message and exit.
  13. .. option:: --verbose, -v
  14. Increase verbosity.
  15. .. option:: --quiet, -q
  16. Decrease verbosity.
  17. .. option:: --all
  18. Run the command on all qubes. You can use :option:`--exclude` to limit the
  19. qubes set. Command is never run on the dom0.
  20. .. option:: --exclude
  21. Exclude the qube from :option:`--all`.
  22. .. option:: --dispvm [BASE_APPVM]
  23. Run the command fresh DisposableVM created out of *BASE_APPVM*. This option
  24. is mutually exclusive with *VMNAME*, --all and --exclude.
  25. .. option:: --user=USER, -u USER
  26. Run command in a qube as *USER*.
  27. .. option:: --auto, --autostart, -a
  28. Ignored. Qube is autostarted by default.
  29. .. option:: --no-auto, --no-autostart, -n
  30. Do not start the qube automatically, fail the operation if not running.
  31. .. option:: --pass-io, -p
  32. Pass standard input and output to and from the remote program.
  33. .. option:: --localcmd=COMMAND
  34. With :option:`--pass-io`, pass standard input and output to and from the
  35. given program.
  36. .. option:: --gui
  37. Run the command with GUI forwarding enabled, which is the default. This
  38. switch can be used to counter :option:`--no-gui`.
  39. .. option:: --no-gui, --nogui
  40. Run the command without GUI forwarding enabled. Can be switched back with
  41. :option:`--gui`.
  42. .. option:: --service
  43. Start RPC service instead of shell command. Specify name of the service in
  44. place of *COMMAND* argument. You can also specify service argument, appending
  45. it to the service name after `+` character.
  46. .. option:: --colour-output=COLOUR, --color-output=COLOR
  47. Mark the qube output with given ANSI colour (ie. "31" for red). The exact
  48. mapping of numbers to colours and styles depends of the particular terminal
  49. emulator.
  50. Colouring can be disabled with :option:`--no-colour-output`.
  51. .. option:: --colour-stderr=COLOUR, --color-stderr=COLOR
  52. Mark the qube stderr with given ANSI colour (ie. "31" for red). The exact
  53. mapping of numbers to colours and styles depends of the particular terminal
  54. emulator.
  55. Colouring can be disabled with :option:`--no-colour-stderr`.
  56. .. option:: --no-colour-output, --no-color-output
  57. Disable colouring the stdout.
  58. .. option:: --no-colour-stderr, --no-color-stderr
  59. Disable colouring the stderr.
  60. .. option:: --filter-escape-chars
  61. Filter terminal escape sequences (default if output is terminal).
  62. Terminal control characters are a security issue, which in worst case amount
  63. to arbitrary command execution. In the simplest case this requires two often
  64. found codes: terminal title setting (which puts arbitrary string in the
  65. window title) and title repo reporting (which puts that string on the shell's
  66. standard input.
  67. .. option:: --no-filter-escape-chars
  68. Do not filter terminal escape sequences. This is DANGEROUS when output is
  69. a terminal emulator. See :option:`--filter-escape-chars` for explanation.
  70. Authors
  71. -------
  72. | Joanna Rutkowska <joanna at invisiblethingslab dot com>
  73. | Rafal Wojtczuk <rafal at invisiblethingslab dot com>
  74. | Marek Marczykowski <marmarek at invisiblethingslab dot com>
  75. | Wojtek Porczyk <woju at invisiblethingslab dot com>
  76. .. vim: ts=3 sw=3 et tw=80