This is mostly an RFC: it does create issues with quoting inconsistency with quoting. Eg. ...
12 years, 3 months ago
(2012-10-07 04:23:07 UTC)
#2
This is mostly an RFC: it does create issues with quoting inconsistency with
quoting. Eg. when using bash, 2-clicking:
echo "hello, world"
produces
"hello, world"
since that doesn't trigger the "hard" rule, but:
echo "hello world" 2>/dev/null
yields
hello, world
since it does.
One possible solution is to have the shell execute everything.
For better or worse acme's execution model hard-codes rc's behavior, so that's the shell that ...
12 years, 3 months ago
(2012-10-07 14:01:34 UTC)
#3
For better or worse acme's execution model hard-codes rc's behavior,
so that's the shell that gets used, always. I don't think I'd want to
change this. I use SHELL=bash (it's too hard not to in some
environments) but still expect acme commands to be run by rc. However,
I also understand that it's inconvenient to be forced to use a
specific shell.
I would be willing to go along with something like this if instead we
use a separate environment variable $acmeshell. If that is set, then
the shell gets used for everything (early goto hard).
Russ
Issue 6614056: acme: execute "hard" runs in $SHELL when available.
Created 12 years, 3 months ago by marius.eriksen
Modified 12 years, 2 months ago
Reviewers:
Base URL:
Comments: 0