Potresti lanciare il comando facendo la redirezione dell'output su file di testo e poi leggere il file.