title: How to get two parts Adb(Android debug bridge) commands results in C#
body: <p>I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this.</p>
  <p>[e.t picture below, there are two parts adb command, when I input 'exit' part command, I want to get the result below,The difficulty lies in that i input 'autobt ...' part ,it did not realy return to the shell state, I need to input 'exit' command to compute and exit to shell state, so i can't use StandardOutPut.ReadToEnd method to get the results ,it will be
  stuck forever</p>
  <pre><code>C:/Users/......&gt;adb shell
  ailabsz06:/ #                         -----enter the shell command
  ailabsz06:/ # autobt nsrx -c 39 -n 0  -----part one command
  BT device power on success
  Rx pattern: 0x04
  R channel: 20
  Packet type: OxOf
  Tester address: 88cOffee
  Non-Signal-Rx test start.
  exit                                  -----part two command
  Non -Signal-Rx test complete
  Total received packet: 2257
  Packet Error Rate: 0.000000%
  Total received payload byte: 60939
  Bit Error Rate: 0: 000000%
  BT device power off
  ailabsz06:/ #                ----after exit command,enter shell again
  </code></pre>
  <p>I want to get this out for two weeks, I search the answer for long time, but i still get it out. so i really want your helps.</p>
  <p>Had anyone encountered this problem, give me a chocolate, tks.</p>