targodan / jupyter-swi-prolog

A Jupyter Kernel for SWI-Prolog
MIT License
24 stars 6 forks source link

Output to stdout/stderr is lost #7

Open targodan opened 5 years ago

targodan commented 5 years ago

When prolog wants to output things (e. g. via write or portray_clause) the output is lost. It goes to the terminal where jupyter is running but does not end up in the cell output.

hsk commented 5 years ago

https://gist.github.com/hsk/da22273c05e25358f2eee25921de585d

I make output stdout to jupyter. please refer my program.