CShellWindow: use my_system instead system, avoids possible errors

Origin commit data
------------------
Commit: 5f1708b6e1
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-25 (Mon, 25 May 2015)
This commit is contained in:
2015-05-25 16:09:00 +02:00
parent 0227cdcf1f
commit 6a119ec623

View File

@@ -64,7 +64,7 @@ void CShellWindow::exec()
std::string cmd;
if (!(mode & VERBOSE)){
cmd = "PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin ; export PATH ; " + command + " 2>/dev/null >&2";
int r = system(cmd.c_str());
int r = my_system(cmd.c_str());
if (res) {
if (r == -1)
*res = r;