diff options
author | Luciano Resende <lresende@apache.org> | 2017-01-18 18:06:23 -0800 |
---|---|---|
committer | Luciano Resende <lresende@apache.org> | 2017-01-18 18:06:23 -0800 |
commit | 4612e9ba58119caf91b33e4fd6c6ad0cea38affb (patch) | |
tree | 3520104d09b80a7a6e7c9c6eb892b620d86c2f7a | |
parent | 1a19ba5bba00dd897081396edd448b2bfd316fd0 (diff) | |
download | toree-gateway-4612e9ba58119caf91b33e4fd6c6ad0cea38affb.tar.gz toree-gateway-4612e9ba58119caf91b33e4fd6c6ad0cea38affb.tar.bz2 toree-gateway-4612e9ba58119caf91b33e4fd6c6ad0cea38affb.zip |
Disable handling stdin/stdout
-rw-r--r-- | python/toree-gateway-kernel.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/toree-gateway-kernel.py b/python/toree-gateway-kernel.py index d364407..8e5495f 100644 --- a/python/toree-gateway-kernel.py +++ b/python/toree-gateway-kernel.py @@ -125,8 +125,15 @@ class ToreeKernel(MetaKernel): retval = None try: retval = self.gateway.entry_point.eval(code.rstrip()) + """ + This would process stdin and stdout, which would generate + garbage on the ui with any log or other related content + on these streams. For now, disabling it, very useful for + debuging purposes. + self.handle_output(self.gateway_proc.stdout, self.Print) self.handle_output(self.gateway_proc.stderr, self.Error) + """ except Py4JError as e: if not silent: self.Error(format(e)) |