run in debug mode: Add a sleep

This commit is contained in:
Kovid Goyal 2010-12-17 09:12:11 -07:00
parent 3960f3d6f3
commit 286a1fc22e

View File

@ -266,6 +266,7 @@ def run_in_debug_mode(logpath=None):
exe = base + '-debug' + ext exe = base + '-debug' + ext
print 'Starting debug executable:', exe print 'Starting debug executable:', exe
subprocess.Popen([exe, '--gui-debug', logpath], stdout=fd, stderr=fd) subprocess.Popen([exe, '--gui-debug', logpath], stdout=fd, stderr=fd)
time.sleep(1) # Give subprocess a change to launch, before fd is closed
def run_gui(opts, args, actions, listener, app, gui_debug=None): def run_gui(opts, args, actions, listener, app, gui_debug=None):
initialize_file_icon_provider() initialize_file_icon_provider()