mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 22:32:23 +00:00
different debug
This commit is contained in:
parent
a4061619dc
commit
14caaa360c
@ -146,17 +146,16 @@ def initialize():
|
|||||||
real_stdout = (old_stdout_fileno == STDOUT_FILENO)
|
real_stdout = (old_stdout_fileno == STDOUT_FILENO)
|
||||||
real_stderr = (old_stderr_fileno == STDERR_FILENO)
|
real_stderr = (old_stderr_fileno == STDERR_FILENO)
|
||||||
|
|
||||||
print("real stdout: {}".format(real_stdout))
|
|
||||||
print("real stderr: {}".format(real_stderr))
|
|
||||||
|
|
||||||
if real_stdout:
|
if real_stdout:
|
||||||
hStdout = GetStdHandle(STD_OUTPUT_HANDLE)
|
hStdout = GetStdHandle(STD_OUTPUT_HANDLE)
|
||||||
if not_a_console(hStdout):
|
if not_a_console(hStdout):
|
||||||
|
print("stdout not a console")
|
||||||
real_stdout = False
|
real_stdout = False
|
||||||
|
|
||||||
if real_stderr:
|
if real_stderr:
|
||||||
hStderr = GetStdHandle(STD_ERROR_HANDLE)
|
hStderr = GetStdHandle(STD_ERROR_HANDLE)
|
||||||
if not_a_console(hStderr):
|
if not_a_console(hStderr):
|
||||||
|
print("stdout not a console")
|
||||||
real_stderr = False
|
real_stderr = False
|
||||||
|
|
||||||
if real_stdout or real_stderr:
|
if real_stdout or real_stderr:
|
||||||
|
Loading…
Reference in New Issue
Block a user