exec command
2019-09-30 本文已影响0人
clive0x
在shell下执行command时,shell fork child进程。
exec command时,替换shell进程,没有children process forked。
exec -a xx command = command xx
exec -c command = clear env && command
exec -l command = -command
在shell下执行command时,shell fork child进程。
exec command时,替换shell进程,没有children process forked。
exec -a xx command = command xx
exec -c command = clear env && command
exec -l command = -command