Allow to define shell command by name and list of argument strings #3368
alexeymuranov
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am reluctant to adopt any build tool where the only way to define a shell command is by full command line given as a string.
Normally, I know the name of the command, I know the arguments with which it has to be run, and I do not want to think about how to concatenate it all into a single string, properly quoted and escaped, just so that it could be parsed back correctly.
I looked through the documentation of Please, but did not find how to directly execute a shell command if I know it's name and arguments.
For comparison, Python has
subprocess.run
, Rake and Ruby havesh
, Buck2 hasctx.actions.run
andcmd_args
.An idea of adding something similar to Please was mentioned in #2863 (comment), if I have understood it correctly.
Beta Was this translation helpful? Give feedback.
All reactions