mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-30 23:02:39 -06:00
Removed Exec function, now present in UniStd
git-svn-id: svn://ultimatepp.org/upp/trunk@2500 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
43e98b0ab1
commit
dcc5c44115
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <sys/wait.h>
|
||||
|
||||
#define DEFAULT_PATH "/bin:/usr/bin:."
|
||||
#if 0
|
||||
static int execvpe(const char *file, char * const *argv, char * const *envp)
|
||||
{
|
||||
char path[PATH_MAX];
|
||||
|
|
@ -60,6 +61,7 @@ static int execvpe(const char *file, char * const *argv, char * const *envp)
|
|||
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
#else
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue