From f7af914fe70ab04766525792e2abbbe1447cdc14 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Tue, 13 Mar 2018 09:57:35 -0500 Subject: [PATCH] proton: Send logging to stderr stdout is read by Steam when handling the compat path verbs. So we should never write other stuff to stdout. --- proton | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proton b/proton index a97bdc5b..317cba3d 100755 --- a/proton +++ b/proton @@ -21,8 +21,8 @@ else: ld_path_var = "LD_LIBRARY_PATH" def log(msg): - sys.stdout.write(PFX + msg + os.linesep) - sys.stdout.flush() + sys.stderr.write(PFX + msg + os.linesep) + sys.stderr.flush() def upgrade_pfx(old_ver): if old_ver == CURRENT_PREFIX_VERSION: