Refine some codes in ProcessHandler.
ProcessHandler.setInputStream is no longer supported.

Signed-off-by: 核心力量 <kernelforce@gmail.com>