Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCorrectly handle shell aliases #8
Comments
added a commit
that referenced
this issue
Apr 6, 2017
frewsxcv
referenced this issue
Apr 6, 2017
Open
Support shell aliases, run sub-commands in shell environment. #15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
frewsxcv commentedApr 2, 2017
Haven't thought too hard about this, but given a command
CMDthat is passed toaa, it might be possible to just execute$SHELL -c 'CMD', but this assumes that$SHELLexists and that all shells have a-cparameter. Might be safer to just whitelist all the mainstream shells, and if it's not one of them, just execute the command directly.