josephspurrier / golang-portable-windows

Go Programming Language - Portable Environment for Windows
MIT License
119 stars 17 forks source link

LiteIDE.cmd fails if path contains right-paren #6

Open jkyeung opened 7 years ago

jkyeung commented 7 years ago

Steps to reproduce problem:

  1. Create a directory with a right-paren. For example,

    md "\(foo)bar"

  2. Unzip the GoPortWin1.8-r.1.zip archive into that directory.

  3. Try invoking liteide.cmd.

When I invoke liteide from the command line, I see

C:\(foo)bar>liteide
Starting up LiteIDE with the correct paths...
bar/workspace/src was unexpected at this time.
C:\(foo)bar>

I'm observing this in Windows 7.

This is easy enough to work around (by avoiding problematic paths) but I figured I would share this in the hopes that it saves someone else the time and trouble it caused me.

josephspurrier commented 6 years ago

Thanks for finding this. I haven't work on this project in a while. Please feel free to submit a pull request if you have a fix for it. I'll leave this issue open.