mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #7669 from minrk/wakeup
use \0 instead of 'wake up' to finish output
This commit is contained in:
commit
6e8921c682
@ -388,7 +388,7 @@ class StreamCapturer(Thread):
|
||||
return
|
||||
|
||||
self.stop.set()
|
||||
os.write(self.writefd, b'wake up') # Ensure we're not locked in a read()
|
||||
os.write(self.writefd, b'\0') # Ensure we're not locked in a read()
|
||||
self.join()
|
||||
|
||||
class SubprocessStreamCapturePlugin(Plugin):
|
||||
|
Loading…
Reference in New Issue
Block a user