<#20318 `experimental_test_shell_command` with `en...
# github-notifications
c
#20318 `experimental_test_shell_command` with `environment` doesn't run in the environment Issue created by thejcannon Describe the bug In the Pants repo, in the root
BUILD
add
Copy code
experimental_test_shell_command(
    name="test-bind-mount",
    tools=["test", "echo", "cat"],
    command="cat /etc/os-release && test -f /.aws/config",
    environment="docker"
)
then
pants test //:test-bind-mount
and see it list the host OS info Pants version
main
OS Linux Additional info N/A pantsbuild/pants