Replace shell to cpp

Signed-off-by: zdd <zddhub@gmail.com>