0

Possible Duplicate:
Asynchronous shell commands

I have 2 bash scripts, scriptA and scriptB. From within scriptA, scriptB is called. Is there a way to get scriptA to exit before scriptB? Thank you.

Community
  • 1
  • 1
vincent
  • 1,370
  • 2
  • 13
  • 29
  • I think you want this http://stackoverflow.com/questions/2368137/asynchronous-shell-commands – Egor Jul 25 '12 at 23:15
  • * Partially worked. ScriptA now closes before ScriptB, but ScriptB doesn't close. ScriptB is as simple as echo a statement and exit. Any suggestions? – vincent Jul 26 '12 at 00:56
  • I would recommend making ScriptB a function that gets invoked from ScriptA. – pmohandas Jul 26 '12 at 02:39
  • That won't work for my needs. Here is the issue: I need scriptA to do something, then after scriptA finishes, scriptB needs to execute separately. Is there a better way to accomplish this? – vincent Jul 26 '12 at 17:09

0 Answers0