mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
run in debug mode: Add a sleep
This commit is contained in:
parent
3960f3d6f3
commit
286a1fc22e
@ -266,6 +266,7 @@ def run_in_debug_mode(logpath=None):
|
||||
exe = base + '-debug' + ext
|
||||
print 'Starting debug executable:', exe
|
||||
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):
|
||||
initialize_file_icon_provider()
|
||||
|
Loading…
x
Reference in New Issue
Block a user