• Saul Ibarra's avatar
    Fix diverting std{out,err} when running frozen · d7ea6b9d
    Saul Ibarra authored
    
    When running frozen (ie, a Windows exe) we override sys.std{out,err} so the
    output can be diverted to a file.  There was a problem with logging.Logger
    instances which would get a reference to the original objecs and then find
    then closed after our second replacement.
    
    The solution is to override them very early, and this MUST be done BEFORE
    importing the log module.  Then, when the file property is set the StringIO
    will be drained into the file.
    d7ea6b9d
Name
Last commit
Last update
bin Loading commit data...
blink Loading commit data...
debian Loading commit data...
resources Loading commit data...
.boring Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
Notes Loading commit data...
README Loading commit data...
TODO Loading commit data...
blink-qt.komodoproject Loading commit data...
build_inplace Loading commit data...
gdb-trace Loading commit data...
run Loading commit data...
setup.py Loading commit data...