##// END OF EJS Templates
Backport PR #10150: Always run the OS X loop even if no windows....
Backport PR #10150: Always run the OS X loop even if no windows. Otherwise this can trigger infinite Python-Icon-In-Dock bouncing. See 10137. I will guess that this is because application on OS X may not have windows and still need to process events. It may be that an alternative is to run the loop only once the first time, but I'm unsure. ---- Ping minrk : I have no clue what I am doing.

File last commit:

r21337:03608cd1
r23169:83d725b1
Show More
__main__.py
3 lines | 100 B | text/x-python | PythonLexer
if __name__ == '__main__':
from ipykernel import kernelapp as app
app.launch_new_instance()