I would like to run a process on my controller and while the process is running my twig page should be shown.
Here is my code:
$cmd="my command ";
$process = new Process('');
$process->setCommandLine($cmd);
return $this->render('sendForm.html.twig');
$process->start();