vors / jupyter-powershell

PowerShell language kernel for Jupyter
MIT License
132 stars 26 forks source link

Kernel Hangs when Asking for User Input #23

Closed chlafreniere closed 4 years ago

chlafreniere commented 4 years ago

Read-Host 'Enter input here:'
results in a cell running forever and hanging.

vors commented 4 years ago

We detect similar situation for the incomplete lines. I guess we can detect it and at least print the error telling they need to restart the kernel.

It's pretty annoying that we cannot run in a non-interactive mode so it errors out on such problems.