try decoding subprocess output