air-verse / air

☁️ Live reload for Go apps
GNU General Public License v3.0
17.62k stars 804 forks source link

Issue when running when inside a folder containing whitespace #472

Open AloizioMacedo opened 11 months ago

AloizioMacedo commented 11 months ago

It seems that having folders like

"/Documents/Go Projects/my_project"

presents problems, and air trims the example above to

"/Documents/Go"

and shows permission denied issues.

After I changed the name of the offending folder in the example above to "Go_Projects", everything worked nicely.

xiantang commented 11 months ago

thank your report, let me reproduce it

xiantang commented 11 months ago

may i know what OS do u use?

xiantang commented 11 months ago

image

xiantang commented 11 months ago

https://github.com/golang/go/issues/17149 related

DevDorrejo commented 10 months ago

have this issue with this name "Let's Go".

AloizioMacedo commented 8 months ago

may i know what OS do u use?

Ubuntu 20.04 inside WSL, Windows 11.

makiuchi-d commented 8 months ago

I was fixed, but it was reverted by @xiantang. https://github.com/cosmtrek/air/pull/179

jrmylua commented 7 months ago
running...
CMD will not recognize non .exe file for execution, path: C:\Users\Jeremy Lua\Documents\code\jvbe\tmp\jvbe app
'C:\Users\Jeremy' is not recognized as an internal or external command,
operable program or batch file.
Process Exit with Code: 1

I have a similar issue with my project path. Running Windows 10 Education Version 22H2

ctholho commented 4 months ago

I just wanted to mention that this is not a windows issue. I have the same problem running this on macos.

Screenshot 2024-05-27 at 21 57 49