add class CSubprocess implementation

Signed-off-by: Du, Changbin <changbin.du@gmail.com>