Thank you for the reply tomazzi .
Now I know that i can put the process in the background by putting a & at the end of the line to make the command run in the background, works the same way at the command line.
I have read about Parent processes producing child processes and so on and forking a process. I am still trying to grasp it.
One thing that I cannot understand is what determines if a process is indeed complete? I understand that a bash script (or the command line) is read from top to bottom left to right. With other scripts I have written I have not had to put a command into the background. The script just continues after running the command.
Lets say for example using the echo command. If I write a script like,
and then run the script, it displays "Hello" via the stdout (the terminal) and then returns the prompt. Why does this not happen when running
After the browser is opened and the web page loaded wouldn't that be the completion of the command?