Since `./pants run my_file.py` now runs the script...
# general
b
Since
./pants run my_file.py
now runs the script in your workspace, should we elide add support for
./pants run my_script.sh
?
s
I would say no -
experimental_run_shell_command
can also be used to run shell scripts and arbitrary CLI tools from the PATH (and maybe go binaries? not sure what the integration looks like there)
oh wait I misread the extension at the end of your question (thought it was
.py
and not
.sh
) 🤔
b
Oh huh I didn't notice the
command
field. So this would be complimentary
(changed the question)
👍 1
h
yeah I think running an arbitrary
.sh
script makes a ton of sense. And note that the shell backend currently doesn't hook up into
run
at all, so it's free to add without breaking semantics