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

env-cmd -x is not working on Windows #355

Open
Systemify-me opened this issue Dec 29, 2022 · 1 comment
Open

env-cmd -x is not working on Windows #355

Systemify-me opened this issue Dec 29, 2022 · 1 comment

Comments

@Systemify-me
Copy link

Systemify-me commented Dec 29, 2022

env-cmd -x git clone \\$REPO_PULL_URL ./temp

Works fine on Mac, but returns "Wrong repo \$REPO_PULL_URL" - so probably another delimiter is needed.

Dotenv + cross-var works fine with %REPO_PULL_URL%, but they have another limitations i need to workaround.

@StefanMorar
Copy link

  • for Linux/macOS:
env-cmd -f .env -x echo \\$ENV_NAME
  • for Windows PowerShell:
env-cmd -f .env -x echo `$ENV_NAME
  • for Windows CMD:
env-cmd -f .env -x echo $ENV_NAME

Too dependent on the OS platform and even on the terminal type

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

2 participants