mirror of
https://github.com/NixOS/nix
synced 2025-07-05 04:01:47 +02:00
Add nix::execvpe
This commit is contained in:
parent
31f3f23ee6
commit
c4192a6617
3 changed files with 21 additions and 0 deletions
13
src/libutil/unix/exec.hh
Normal file
13
src/libutil/unix/exec.hh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
namespace nix {
|
||||
|
||||
/**
|
||||
* `execvpe` is a GNU extension, so we need to implement it for other POSIX
|
||||
* platforms.
|
||||
*
|
||||
* We use our own implementation unconditionally for consistency.
|
||||
*/
|
||||
int execvpe(const char * file0, char * const argv[], char * const envp[]);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue