Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yogi fails at starting Selleck when in Windows with folders with spaces #77

Open
juandopazo opened this issue May 15, 2013 · 2 comments

Comments

@juandopazo
Copy link
Member

Here's yogi's log:

C:\Workspace\gallery\debounce>yogi serve
yogi [info]  using yogi@0.1.9 on node@0.10.5
yogi [info]  using module: gallery-debounce
yogi [info]  adding tests route
yogi [info]  launching xdr server on port 5003
yogi [info]  launching yuidoc --server 5001 --config C:\Users\Juan Ignacio\AppDa
ta\Roaming\npm\node_modules\yogi\configs\yuidoc\yuidoc.json
yogi [info]  launching selleck --server 5002 --project C:\Users\Juan Ignacio\App
Data\Roaming\npm\node_modules\yogi\configs\selleck
yogi [info]  listening on: http://127.0.0.1:5000
yogi [ERROR] selleck: "C:\Users\Juan" no se reconoce como un comando interno o e
xterno,
programa o archivo por lotes ejecutable.
@evocateur
Copy link

Would quoting the path argument fix the issue? Of course, this would be yogi doing it, not you.

Theoretically, at line 451 of lib/cmds/serve.js, this should work:

self.spawn('selleck', port, ['--server', port, '--project', '"' + project + '"'], 'docs');

Of course, this quote-wrapping should probably be extracted into a helper function so that all path parameters can be wrapped thusly.

@juandopazo
Copy link
Member Author

Yup, probably. But I'm running into this issue intermittently. I'll have to check but it seems that I'm only running into it when using yogi serve for Gallery modules but not for YUI modules. I'll post more information as soon as I have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants