Switch to unified view
a/src/utils/rclionice.cpp | b/src/utils/rclionice.cpp | ||
---|---|---|---|
... |
... |
||
15 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
15 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 | */ |
16 | */ |
17 | #include <stdio.h> |
17 | #include <stdio.h> |
18 | #include <unistd.h> |
18 | #include <unistd.h> |
19 | 19 | ||
20 | #include <string> |
||
21 | |||
20 | #include "rclionice.h" |
22 | #include "rclionice.h" |
21 | #include "execmd.h" |
23 | #include "execmd.h" |
22 | #include "debuglog.h" |
24 | #include "debuglog.h" |
25 | |||
26 | using namespace std; |
||
23 | 27 | ||
24 | bool rclionice(const string& clss, const string& cdata) |
28 | bool rclionice(const string& clss, const string& cdata) |
25 | { |
29 | { |
26 | string ionicexe; |
30 | string ionicexe; |
27 | if (!ExecCmd::which("ionice", ionicexe)) { |
31 | if (!ExecCmd::which("ionice", ionicexe)) { |