kentcdodds / cross-env

🔀 Cross platform setting of environment scripts

Home Page:https://www.npmjs.com/package/cross-env

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing url parameter on windows breaks

amsterdamharu opened this issue · comments

  • cross-env version: 5.2.0
  • node 8.16.2:
  • npm version: 6.4.1

Following script in package.json :

"op": "cross-env \"echo \"https://hello.world\"\"",

On mac it outputs: https://hello.world and on windows it outputs https:\hello.world

I am unable to pass urls as parameters in package.json script because cross-env and cross-env-shell will destroy them on windows.