From a62583e1c4dbb255c8c01743a3bdd9547c30d64f Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Thu, 1 Nov 2018 13:07:20 +0530 Subject: [PATCH] Fixes #37, get stderr text in our process in Qubes --- sdclientapi/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdclientapi/__init__.py b/sdclientapi/__init__.py index 2e95d5f5e..755e963e4 100644 --- a/sdclientapi/__init__.py +++ b/sdclientapi/__init__.py @@ -32,6 +32,7 @@ def json_query(data): ["/usr/lib/qubes/qrexec-client-vm", proxyvmname, "securedrop.Proxy"], stdin=PIPE, stdout=PIPE, + stderr=PIPE, ) p.stdin.write(data.encode("utf-8")) d = p.communicate()