#NEWLINE# @ gen . coroutine #NEWLINE# def _async_open_browser( self , url ) : #NEWLINE# #INDENT# with ThreadPoolExecutor ( max_workers = 1 ) as executor : #NEWLINE# #INDENT# ( yield executor . submit ( self . term . open_browser , url ) ) #NEWLINE# #UNINDENT# ioloop . IOLoop . current ( ) . stop ( )