decode stdout