Show stringResult from eval.
This commit is contained in:
parent
a5e047f8c0
commit
67c8a03d55
@ -145,6 +145,17 @@ class ClingKernel(Kernel):
|
|||||||
if stringResult == 0:
|
if stringResult == 0:
|
||||||
status = 'error'
|
status = 'error'
|
||||||
else:
|
else:
|
||||||
|
self.session.send(
|
||||||
|
self.iopub_socket,
|
||||||
|
'execute_result',
|
||||||
|
content={
|
||||||
|
'data': {
|
||||||
|
'text/plain': stringResult.decode('utf8', replace),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
parent=self.parent_header
|
||||||
|
)
|
||||||
|
self.libclingJupyter.cling_eval_free(stringResult)
|
||||||
|
|
||||||
|
|
||||||
reply = {
|
reply = {
|
||||||
|
Loading…
Reference in New Issue
Block a user