Sen zaten string output ile command sonucu gelen veriyi alıyorsun. Orası integer'da olabilir.
Veya şu şekilde de çalıştırabilirsin command'ı.
string stOut = ""; string stError = "";
exec.RunCommand(textBox4.Text, ref stOut, ref stError);