mirror of
https://github.com/gaschz/qubes-pass.git
synced 2025-06-07 01:38:31 +02:00
Merge pull request #7 from BetoHydroxyButyrate/master
qrexec-client-vm was stripping the escape chars on output.
This commit is contained in:
commit
17fe998aee
@ -142,7 +142,10 @@ PASS_MANAGE = "ruddo.PassManage"
|
|||||||
|
|
||||||
|
|
||||||
def send_args(rpc, *args, **kwargs):
|
def send_args(rpc, *args, **kwargs):
|
||||||
cmd = ['/usr/lib/qubes/qrexec-client-vm', opts.dest_vm, rpc]
|
cmd = ['/usr/lib/qubes/qrexec-client-vm',
|
||||||
|
'--no-filter-escape-chars-stdout',
|
||||||
|
'--no-filter-escape-chars-stderr',
|
||||||
|
opts.dest_vm, rpc]
|
||||||
# print(cmd, file=sys.stderr)
|
# print(cmd, file=sys.stderr)
|
||||||
return_stdout = kwargs.get("return_stdout", False)
|
return_stdout = kwargs.get("return_stdout", False)
|
||||||
if "return_stdout" in kwargs:
|
if "return_stdout" in kwargs:
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# xterm-256color seems to be the qubes default
|
||||||
|
# for gnome-term and Xterm
|
||||||
|
#
|
||||||
|
export TERM="xterm-256color"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# xterm-256color seems to be the qubes default
|
||||||
|
# for gnome-term and Xterm
|
||||||
|
#
|
||||||
|
export TERM="xterm-256color"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user