execvp
A process execution system call function in Unix/Linux systems, used to replace the current process image and execute a new program. It reads the PATH environment variable to locate executables but does not perform shell expansion.
Timeline (last 90 days)
The contents of the PATH environment variable, when read by a system call (such as execvp), do not go through the shell's expansion process, so a ~ in PATH is treated as an ordinary character-based directory.
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.
All Facts (2)
The contents of the PATH environment variable, when read by a system call (such as execvp), do not go through the shell's expansion process, so a ~ in PATH is treated as an ordinary character-based directory.
50%UnverifiedInvocation 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.
50%