Executes command without interaction when condition is not met.
Fixes #336.