runCommand calls callback to return successful result, and adjust logging of result