git-svn-id: svn://db.shs.com.ru/pip@359 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -138,8 +138,7 @@ void PIProcess::startProc(bool detached) {
|
||||
if (g_out) tf_out = freopen(f_out.path().data(), "w", stdout);
|
||||
if (g_err) tf_err = freopen(f_err.path().data(), "w", stderr);
|
||||
#ifndef WINDOWS
|
||||
int as2;
|
||||
if (!wd.isEmpty()) as2 = chdir(wd.data());
|
||||
if (!wd.isEmpty()) chdir(wd.data());
|
||||
#endif
|
||||
#ifdef WINDOWS
|
||||
GetStartupInfoA(&si);
|
||||
|
||||
Reference in New Issue
Block a user