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.
This commit is contained in:
Andrew Eikum 2018-03-13 09:57:35 -05:00
parent 3c120fa953
commit f7af914fe7

4
proton
View File

@ -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: