Currently the kernel hangs if powershell isn't installed, since an exception is being thrown during init. My solution to this is to move the proxy creation to do_execute so that we can return a well-formatted message.
A nice side-effect of putting this check in do_execute is that if powershell isn't found, then the user can install it and run the cell again successfully without having to restart the kernel/notebook.
Fixes https://github.com/vors/jupyter-powershell/issues/11
Currently the kernel hangs if powershell isn't installed, since an exception is being thrown during init. My solution to this is to move the proxy creation to do_execute so that we can return a well-formatted message.
A nice side-effect of putting this check in do_execute is that if powershell isn't found, then the user can install it and run the cell again successfully without having to restart the kernel/notebook.