I am calling multi command in this command class:
public function handle()
{
foreach ($this->argument('step') as $step) {
if (command_exists("private:{$step}")) {
$this->call("private:{$step}");
$this->info("{$step} is completed");
$this->line("-----");
}
}
}
I need to Waiting for each response in loop