Collecting return value from Shell Script up vote 1 down vote favorite Thanks for this Post it helped me ...
stackoverflow.com