gsh: Enhence forkchild in jobs.c

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>