Closed madskjeldgaard closed 6 years ago
Here's a link to the docs http://doc.sccode.org/Classes/Process.html#-nowExecutingPath
Interesting. If you've cloned the repo would you be able to tell me if any of the ("../../Setup/Setup.scd").loadRelative
lines at the starts of examples work? In 3.4 for example
If so you might have to specify absolute paths for everything in SCVim, which would be a shame.
The setup file does not work on SC Vim (only tried on Mac OSX) and returns this error:
The problem is somehow the .nowExecutingPath method. According to the docs: “This method is supported in the SuperCollider IDE, the Macintosh-only SuperCollider.app, and the scel (SuperCollider-Emacs-Lisp) environment. In other editor environments, it will return nil.”
Running just
thisProcess.nowExecutingPath
does in fact return nil. And thus the .dirname method is not understood cause it's run onnil
.I'm not sure what the alternative would be yet but I'll do a little digging