This reference was very interesting for my purposes.
http://mywiki.wooledge.org/ProcessManagement#advanced

I can achieve it with:
jobpid=$!
and
wait $jobpid


-- 
View this message in context: 
http://www.nabble.com/Is-there-any-mutex-semaphore-mechanism-in-shell-scripts--tp23641994p23658836.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.



Reply via email to