This was exactly what I needed. However there is a logic error in the first sentence. It should read "... until the return code of the command IS 0."
This was exactly what I needed. However there is a logic error in the first sentence. It should read "... until the return code of the command IS 0."