|
|
|
@ -453,9 +453,6 @@ string MainWindow::start_cmd(string user_cmd) {
|
|
|
|
string str_variants_root = "";
|
|
|
|
string str_variants_root = "";
|
|
|
|
string str_nice_cmd = "";
|
|
|
|
string str_nice_cmd = "";
|
|
|
|
if (chbAnotherUser->get_active()) {
|
|
|
|
if (chbAnotherUser->get_active()) {
|
|
|
|
if (geteuid() != 0) {
|
|
|
|
|
|
|
|
//chbTerminal->set_active(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (rbPkexec->get_active()) {
|
|
|
|
if (rbPkexec->get_active()) {
|
|
|
|
str_variants_root = " pkexec --user " + cmbUser->get_active_text();
|
|
|
|
str_variants_root = " pkexec --user " + cmbUser->get_active_text();
|
|
|
|
if (cbxExecuteEpriority->get_active()) {
|
|
|
|
if (cbxExecuteEpriority->get_active()) {
|
|
|
|
|