take only output of subprocess