core-admin/qvm-tools
Marek Marczykowski-Górecki 86a14b53fb
qvm-run: color untrusted stderr even when stdout is redirected
When stdout is redirected to some file or command two things will
happen:
 - qvm-run will not automatically color the output as stdout is not a
 TTY
 - even when coloring is forced, it will not work, as the control
 sequence (on stdout) will be redirected anyway

Fix this by handling stdout and stderr independently and output color
switching sequence to each of them.

Fixes QubesOS/qubes-issues#2190
2016-07-29 13:07:37 +02:00
..
Makefile makefile/windows: install qvm-tools with .py extension 2014-11-19 12:50:26 +01:00
qubes-bug-report qubes-bug-report: remove trailing spaces 2016-05-17 20:33:05 +02:00
qubes-hcl-report And some more quoting to satisfy #1672 2016-06-27 19:23:53 -03:00
qubes-prefs core: add offline mode to qvm-create, qvm-prefs 2015-08-01 21:58:38 +02:00
qubes-set-updates Make qubes-set-updates set also default state for new VMs 2015-08-05 01:04:43 +02:00
qvm-add-appvm qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-add-template qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-backup Revise help and stderr messages 2016-07-15 16:20:11 -07:00
qvm-backup-restore Correct note regarding dom0 home-pre-restore directory 2016-07-16 18:26:15 -07:00
qvm-block core: update qvm-block code for HAL API 2014-12-12 03:59:01 +01:00
qvm-check qvm-check: whitespace fixes 2016-06-24 22:43:26 +02:00
qvm-clone PEP8 qvm-tools/qvm-clone 2015-12-07 11:03:51 +01:00
qvm-create qvm-create: Don't allow the user to manually create dispNN names 2016-03-03 13:46:20 +13:00
qvm-create-default-dvm dispvm: get rid of obsolete symlinks to dvm.conf 2015-10-10 05:22:44 +02:00
qvm-firewall qvm-tools: fix qvm-firewall -r 2015-04-28 15:00:50 +02:00
qvm-grow-private Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-grow-root qvm-grow-root: add --allow-start option 2015-12-26 04:10:20 +01:00
qvm-init-storage Wrap all VMM connection related object into QubesVMMConnection class 2014-11-19 12:48:26 +01:00
qvm-kill qvm-tools: fix error reporting in qvm-kill 2015-01-30 01:38:56 +01:00
qvm-ls qvm-ls: remove unused code 2016-07-01 03:08:42 +02:00
qvm-pci qvm-pci: one more fix - save changes 2015-11-28 23:03:08 +01:00
qvm-prefs core: add pci_e820_host property 2016-06-04 16:52:02 +02:00
qvm-remove qvm-remove: undefine libvirt domain even when not removing files 2016-06-25 00:21:47 +02:00
qvm-revert-template-changes qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-run qvm-run: color untrusted stderr even when stdout is redirected 2016-07-29 13:07:37 +02:00
qvm-service Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-shutdown Implement qvm-shutdown --wait-time option 2015-12-26 02:14:28 +01:00
qvm-start qvm-start: improve error message about missing qubes-windows-tools.iso 2016-06-24 19:57:02 +02:00
qvm-sync-clock qvm-sync-clock: allow colon in timezone spec 2016-07-19 00:46:48 +02:00
qvm-template-commit qvm-tools: fix usage info for qvm-template-commit 2015-07-08 05:58:29 +02:00
qvm-top cleanup whitespace mess 2016-04-04 15:57:42 +02:00
qvm-trim-template trim-template: Fix handling long named templates 2016-05-15 15:08:30 +02:00
qvm-usb qvm-usb: remove scary warning about PV USB stability 2016-06-02 02:52:59 +02:00