fix: having a space in your path variable will break the `docker compose` command
Describe the bug
If there is a space in the path variable, the run-platform.sh script will fail.
To reproduce
Put the unstract folder in a path that has a space somewhere along the absolute path.
Expected behavior
A clear and concise description of what you expected to happen.
Environment details
latest
Additional context
Screenshots
@Evgastap can you add some screenshots of the error in the description?
It will error with unknown command: docker compose "[the last segment of the current path after the space, because it's not encoded]"
E.g., if your path is /Desktop/Your projects/unstract it will error with unknown command: docker compose "projects/unstract"
Evgeny Astapov
Chief Everything Guy
MVP / evg.to ( http://evg.to )
@.***
https://evg.to ( https://evg.to/ )
linkedin ( https://www.linkedin.com/in/evgeny-astapov/ )
instagram ( https://www.instagram.com/evgastap/ )
Schedule a meeting! ( https://evg.to/meet )
On Wed, Sep 18, 2024 at 14:39:44, Ritwik G < @.*** > wrote:
@ Evgastap ( https://github.com/Evgastap ) can you add some screenshots of the error in the description?
— Reply to this email directly, view it on GitHub ( https://github.com/Zipstack/unstract/issues/705#issuecomment-2358236986 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/ADZAQXUGVUXCGREAKZX6Y33ZXFRABAVCNFSM6AAAAABONKF2HOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJYGIZTMOJYGY ). You are receiving this because you were mentioned. Message ID: <Zipstack/unstract/issues/705/2358236986 @ github. com>
@hari-kuriakose I have raised an initial fix. But I think we need further changes in merge env script also