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

PiBakery doesn't work when run from volume with spaces in the volume label #178

Open
micksear opened this issue Apr 27, 2019 · 0 comments
Open

Comments

@micksear
Copy link

With v2.0.0, if I run PiBakery from a volume that has spaces in it, I get the following error:

`
Elevation error

Command failed: /Volumes/Samsung T5 900GB/dev/personal/pi/PiBakery2-darwin-x64.app/Contents/MacOS/PiBakery --rootwriter --socketpath /tmp/k5el7.sock --imgpath /Users/.../Desktop/2019-04-08-raspbian-stretch-lite.img --drive '{"device":"/dev/disk2","displayName":"/dev/disk2","description":"SD/MMC/MS PRO","size":15867052032,"mountpoints":[{"path":"/Volumes/Untitled"}],"raw":"/dev/rdisk2","protected":false,"system":false,"name":"Untitled"}' --require /Volumes/Samsung T5 900GB/dev/personal/pi/PiBakery2-darwin-x64.app/Contents/Resources/app/main.js
sudo-prompt-command: line 2: /Volumes/Samsung: No such file or directory
`

You can see from the last line of that error that it's choking on the first space in the volume name. If I remove the spaces from the volume name, it works fine.

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

1 participant