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

Fix docker compose startup on windows by adding split flag #89

Merged

Conversation

TimHi
Copy link
Contributor

@TimHi TimHi commented Nov 14, 2024

As written in #88 passing mulitple arguments to manage.py causes docker compose to fail on windows.
Passing the -S flag allows parsing of multiple arguments, from env man:

 -S/--split-string usage in scripts
      The -S option allows specifying multiple parameters in a script.
      Running a script named 1.pl containing the following first line:

             #!/usr/bin/env -S perl -w -T
             ...

      Will execute perl -w -T 1.pl .

      Without the '-S' parameter the script will likely fail with:

             /usr/bin/env: 'perl -w -T': No such file or directory

@sirodoht
Copy link
Member

Hey, that looks great! Thanks for submitting!

@sirodoht sirodoht merged commit d1757ea into mataroa-blog:main Nov 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants