grazie mille
in pratica era quello che volevo,

ma come faccio ,x esempio, ad avere lo standard output su un textedit?

grazie ancora