或者用arg[0] ="test.sh"arg[1]="255.255.255.0"arg[2] ="192.168.200.111"execv(arg[0],arg);//怎么在test。sh中取到arg【1】,arg【2】啊 查看完整描述