Core: LocalProcess fix

git-svn-id: svn://ultimatepp.org/upp/trunk@10895 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-03-02 23:19:41 +00:00
parent 985ecc4732
commit faf8fcc617
2 changed files with 3 additions and 2 deletions

View file

@ -168,6 +168,9 @@ bool LocalProcess::DoStart(const char *command, const Vector<String> *arg, bool
return true;
#endif
#ifdef PLATFORM_POSIX
Buffer<char> cmd_buf;
Vector<char *> args;
String app;
if(arg) {
app = command;

View file

@ -48,8 +48,6 @@ private:
DWORD dwProcessId;
#endif
#ifdef PLATFORM_POSIX
Buffer<char> cmd_buf;
Vector<char *> args;
pid_t pid;
int rpipe[2], wpipe[2], epipe[2];
String exit_string;