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

https://www.putorius.net/exec-command.html

上一篇 下一篇

猜你喜欢

热点阅读