nat-n/poethepoet

Poe breaks when directory has spaces in the name

Closed this issue · 2 comments

At least, I think that’s what is breaking Poe. I’m on macOS, more information will be provided during the weekend. I suspect it’s something to do with quoting the executable but that shouldn’t be a problem (unless shell is enabled?)

nat-n commented

Hi @ThatXliner,

Did you work out what was going wrong?

I just did a quick test on macOs and I see the following tasks all work as expected:

[tool.poe.tasks]
test1 = "test\\ test/test.sh OK"
test2 = "'test test/test.sh' OK"
test3 = "\"test test/test.sh\" OK"

I also tried renaming the project directory itself to have a space in the name and didn't encounter any issue.

I'm going to close this issue for now, but feel free to comment with more details if you find something specifically wrong.

Interesting, I don't see a problem right now. If some similar error happens, I'll reply in this issue (I remember running commands in a project where its parent directory had a space in the name)