Conceptposix_spawn系统调用
posix_spawn
A process creation interface defined by the POSIX standard, used to create and start a new process. It does not pass through shell parsing and therefore does not perform shell expansions such as tilde expansion.
Timeline (last 90 days)
Oct 12
Invocation paths that do not go through the shell (such as directly using execvp, posix_spawn, or the process-launching functions implemented in many languages' standard libraries) do not trigger tilde expansion, because they do not parse shell syntax.
Unverified50%