mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-30 23:02:39 -06:00
Bazaar/SysExec : another ArgEnv fix
git-svn-id: svn://ultimatepp.org/upp/trunk@3086 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
61cec0acf9
commit
cd8aacf139
1 changed files with 4 additions and 4 deletions
|
|
@ -48,8 +48,8 @@ bool SysExec(String const &command, String const &args, const VectorMap<String,
|
|||
dup2(ErrFile, 2);
|
||||
|
||||
// builds the arguments and the environment
|
||||
char **argv = BuildArgs(GetFileName(command), args);
|
||||
char **envv = BuildEnv(Environ);
|
||||
Buffer<char *>argv = BuildArgs(GetFileName(command), args);
|
||||
Buffer<char *>envv = BuildEnv(Environ);
|
||||
|
||||
// executes the command
|
||||
int result = 0;
|
||||
|
|
@ -169,8 +169,8 @@ bool SysExec(String const &command, String const &args)
|
|||
bool SysStart(String const &command, String const &args, const VectorMap<String, String> &Environ, intptr_t *pid)
|
||||
{
|
||||
// builds the arguments and the environment
|
||||
char **argv = BuildArgs(GetFileName(command), args);
|
||||
char **envv = BuildEnv(Environ);
|
||||
Buffer<char *>argv = BuildArgs(GetFileName(command), args);
|
||||
Buffer<char *>envv = BuildEnv(Environ);
|
||||
|
||||
// executes the command
|
||||
int result = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue