Closed adinapoli closed 9 years ago
The sanitizing is brittle but will probably work fine in practice. Just make bash use run
I have amended the PR. I had to essentially duplicate the 2 functions in order for bash_
to use run_
but I think they are small enough for it to not be a biggie. If you can think of a way to keep this DRY then let me know and I will amend accordingly.
it could be DRYed, but it is only 2 spots. My rule is always DRY when there are 3.
thanks! released as 1.6.3
Thanks for reviewing and merging!
Hey Greg,
this is a first naive attempt to create
bash
andbash_
. A couple of comments:escaping False
as it's required for the&&
and suchbash_
to be memory inefficient as it does not discard line by line the stdout, can we make it such without boilerplate? (i.e. piggybacking on some internal functions?)Immediate thoughts?