PHP I heard that there are 3 commands that can directly execute bash commands (exec, shell_exec, proc_open)
How do you usually execute it? Just execute git pull? , other languages are also fine
小伙看你根骨奇佳,潜力无限,来学PHP伐。
I usually use exec 了,git pull 的话我一般会加 -f directly to prevent modification failures on the server, although it is generally unlikely.
exec
git pull
-f
I usually use
exec
了,git pull
的话我一般会加-f
directly to prevent modification failures on the server, although it is generally unlikely.