dea54c7dae
The current implementation always searches for the file in PATH if it is not an absolute path. This prevents executing relative paths like ./executable. As specified by exec(3) the p-family of exec functions only search if the filename does not contain slash '/' characters.