-
Notifications
You must be signed in to change notification settings - Fork 48
Description
There are several issues preventing this package from running on Windows.
The most noticeable is the fixPath() function that runs when the package starts - this has the side effect of completely breaking any other package that relies upon your PATH variable, like linters, compilers, etc. I can't tell what it is actually trying to fix, or I'd submit a pull request with a patch.
I would suggest not relying upon hard-coded path separators like .split(':') - use require('path').delimiter instead.
In notebook-editor.js, I would try to avoid relying upon lsof -i:${port}, as this is not a portable command.
That's just a few observations, I can't get kernelgateway to get called from atom-notebook correctly so I can't even run the package after making changes. A setting to define where my jupyter-kernelgateway or base jupyter binaries exist would be nice.