##// END OF EJS Templates
Start webbrowser in a thread. Prevents lockup with Chrome....
Start webbrowser in a thread. Prevents lockup with Chrome. If a user has Chrome set as their default browser (system-wide or via the `BROWSER` environment variable), opening the notebook hangs because the chrome call doesn't return immediately. This solves the issue by opening the browser in a thread. Note that there remains an issue where killing the notebook will kill Chrome if the Chrome session was started by us. I haven't found a way to work around that despite attempts by making the webbrowser.open() call in a subprocess.

File last commit:

r2661:595fc3b9
r5212:2178365f
Show More
IPython1Sandbox_Prefix.pch
7 lines | 161 B | text/plain | TextLexer
//
// Prefix header for all source files of the 'IPython1Sandbox' target in the 'IPython1Sandbox' project
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif