Collect output from openocd commands into openocd_output local variable