in reply to GUI and web open at the same time
# in script B: system("scriptA.pl &"); [download]
Maybe you'd better explain why you want to do this, as people might come up with a better solution.