I am working HTML and PHP for the first time. I have a php page that has a submit button which calls a shell script. This shell script performs some tasks which takes about 10-15 mins. When the submit button is clicked, a new page opens which prints some info immediately and then runs that script in the background.
However the browser tab shows the page to still be loading. Is there anyway I can stop the loading bar. The php code snippet looks something like this:
if($_POST['action'] == 'Test') {
$result = liveExecuteCommand("/usr/bin/test.sh &");
}