mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
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:
parent
3c120fa953
commit
f7af914fe7
4
proton
4
proton
@ -21,8 +21,8 @@ else:
|
|||||||
ld_path_var = "LD_LIBRARY_PATH"
|
ld_path_var = "LD_LIBRARY_PATH"
|
||||||
|
|
||||||
def log(msg):
|
def log(msg):
|
||||||
sys.stdout.write(PFX + msg + os.linesep)
|
sys.stderr.write(PFX + msg + os.linesep)
|
||||||
sys.stdout.flush()
|
sys.stderr.flush()
|
||||||
|
|
||||||
def upgrade_pfx(old_ver):
|
def upgrade_pfx(old_ver):
|
||||||
if old_ver == CURRENT_PREFIX_VERSION:
|
if old_ver == CURRENT_PREFIX_VERSION:
|
||||||
|
Loading…
Reference in New Issue
Block a user