working spawn to subproces

Signed-off-by: hajee <hajee@moretIA.com>