A
A
AlexRas2018-08-03 13:28:56
bash
AlexRas, 2018-08-03 13:28:56

How to tell bash to continue when asked?

There is a script deploy.shin which the command is executed php yii migrate.
This command will display the question Apply the above migration? (yes|no) [no]:, how to answer this question automatically yes?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim, 2018-08-03
@AlexRas

Tyts
In your casephp yiic migrate --interactive=0

A
AVKor, 2018-08-03
@AVKor

man yes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question