Subject: typo in my last message 
--------

       your_long_command & pid
       if [[ ! $BgFlag  ]] && wait $pid

should have been
       your_long_command & pid=$!
       if [[ ! $BgFlag  ]] && wait $pid

Also long as there is only one background job, you could simplify as
       your_long_command &
       if [[ ! $BgFlag  ]] && wait $!


David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to