Closed
Description
Originally opened as dart-lang/sdk#22973
This issue was originally filed by [email protected]
For example, the following script generated for csp_fixer fails to run on linux mint, as 'sh' is really dash, and a really restricted shell
!/usr/bin/env sh
This file was created by pub v1.8.5.
Package: csp_fixer
Version: 0.1.3
Executable: csp_fixer
Script: csp_fixer
dart "/home/daniel/.pub-cache/global_packages/csp_fixer/bin/csp_fixer.dart.snapshot" "$@"
csp_fixer some/path
fails with "dart not found"
but bash has PATH properly set up, and dart can be run from the shell prompt
PATH is not being forwarded to sh, or sh on Mint ( which is supplied by dash ) doesn't properly support it.
Some method should be provided to change the shell used, or perhaps a more universal option found.