stderr/stdout win32
This commit is contained in:
parent
4892cf3df2
commit
ad239210dd
@ -54,7 +54,9 @@ else:
|
||||
import sys
|
||||
if hasattr(sys, "frozen"):
|
||||
INSTALL_PREFIX = ''
|
||||
os.chdir(os.path.dirname(unicode(sys.executable, sys.getfilesystemencoding( ))))
|
||||
os.chdir(os.path.dirname(unicode(sys.executable, sys.getfilesystemencoding( ))))
|
||||
sys.stdout = open("deluge.stdout.log", "w")
|
||||
sys.stderr = open("deluge.stderr.log", "w")
|
||||
else:
|
||||
# the necessary substitutions are made at installation time
|
||||
INSTALL_PREFIX = '@datadir@'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user