From faf8fcc617a08377abc10ed76bf8b6c229fa0323 Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 2 Mar 2017 23:19:41 +0000 Subject: [PATCH] Core: LocalProcess fix git-svn-id: svn://ultimatepp.org/upp/trunk@10895 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/LocalProcess.cpp | 3 +++ uppsrc/Core/LocalProcess.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/uppsrc/Core/LocalProcess.cpp b/uppsrc/Core/LocalProcess.cpp index 28c984592..30a76f614 100644 --- a/uppsrc/Core/LocalProcess.cpp +++ b/uppsrc/Core/LocalProcess.cpp @@ -168,6 +168,9 @@ bool LocalProcess::DoStart(const char *command, const Vector *arg, bool return true; #endif #ifdef PLATFORM_POSIX + Buffer cmd_buf; + Vector args; + String app; if(arg) { app = command; diff --git a/uppsrc/Core/LocalProcess.h b/uppsrc/Core/LocalProcess.h index d04a3c7b2..2e6299ff0 100644 --- a/uppsrc/Core/LocalProcess.h +++ b/uppsrc/Core/LocalProcess.h @@ -48,8 +48,6 @@ private: DWORD dwProcessId; #endif #ifdef PLATFORM_POSIX - Buffer cmd_buf; - Vector args; pid_t pid; int rpipe[2], wpipe[2], epipe[2]; String exit_string;