Let's say I have a bash script with the following:
#!/bin/sh
gedit
rm *.temp
When I execute it using sh ./test.sh, gedit pops-up but the rm part does not run until after I close gedit.
I want the script to continue running even if gedit isn't closed; like the gedit isn't blocking the bash execution.
The example I gave is just an example (putting the rm first won't work in a real situation).