It's not clear from your post exactly what you want to do, but to let scriptB run without blocking scriptA, fire it off with an & after it
This will run it as a background process, leaving scriptA free to carry on without waiting for scriptB to finish. Use wait (man wait for detailed information) if scriptA needs to know that scriptB has finished.