git-svn-id: svn://db.shs.com.ru/pip@438 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -335,7 +335,10 @@ int main(int argc, char * argv[]) {
|
|||||||
args << "-a" << sip;
|
args << "-a" << sip;
|
||||||
if (!name.isEmpty())
|
if (!name.isEmpty())
|
||||||
args << "-n" << name;
|
args << "-n" << name;
|
||||||
piCout << "exec in background:" << PISystemInfo::instance()->execCommand << "; with args" << args;
|
PIProcess p;
|
||||||
|
p.exec("readlink /proc/self/exe");
|
||||||
|
piCout << p.readOutput();
|
||||||
|
piCout << "start in background:" << PISystemInfo::instance()->execCommand;// << "; with args" << args;
|
||||||
PIProcess::execIndependent(PISystemInfo::instance()->execCommand, args);
|
PIProcess::execIndependent(PISystemInfo::instance()->execCommand, args);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user