Handle system command's output, avoid the process never returns.

Some native platforms only provide limited buffer size for standard input and output streams. For example, windows 32bit just contain 512 letters, if more will be blocked.
I ignore the OutputStream.