0

I'm trying to make a node package that I can run from the console anywhere I wish, but I am having trouble specifying the script interpreter.

I have this: #!/c/Program Files/nodejs/node

The problem is the space. I've tried with both '' and "" around the path, but it doesn't seem to help.

Does anyone know how I can do this?

1 Answer 1

1

Escape the space: #!/c/Program\ Files/nodejs/node

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.