# `Testcontainers.CommandWaitStrategy`
[🔗](https://github.com/testcontainers/testcontainers-elixir/blob/main/lib/wait_strategy/command_wait_strategy.ex#L4)

Considers a container ready as soon as a command runs successfully inside it.

# `new`

Creates a new CommandWaitStrategy.
This strategy waits until the given command executes successfully inside the container.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
