How to insert whitespace in GOPATH directory path

Hi everyone,
Having a real issue trying to do something that I know is probably super simple. I have a directory path that I have to add to GOPATH environment variable. The path has a couple of spaces in it. What escape sequence do you use (if any are required) to prevent spaces being a problem. I’ve tried the typical Linux escape (eg /home/Parent\ directory/next\ directory) I’ve tried nested quotation marks, even tried HTML style %20 !

At this point I’m assuming the whitespace is an issue, as I have what appears to be the right path, but Go insists the path is invalid.

It depends on your shell and where exactly you are trying to set it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.