From 578ca5a7b3fb46bf655142d407f60da936eccd2c Mon Sep 17 00:00:00 2001 From: Christoph Schulthess Date: Mon, 24 Apr 2017 16:42:14 +0200 Subject: test --- src/client/toolbar/toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index 3665607..48e357b 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -499,7 +499,7 @@ void Toolbar::onBtnCustom() { const bool on = _ui->btnCustom->isChecked(); if (on) { - this->runDbg.startDetached("/bin/sh", QStringList() << "/opt/openslx/remotedebug/startdebug_noxterm.sh"); + this->runDbg.startDetached("/bin/sh", QStringList() << "-c" << "/opt/openslx/remotedebug/startdebug_noxterm.sh"); _ui->btnCustom->setStyleSheet("background-color: red; color: white; font: bold"); _ui->btnCustom->setText("Debug mode: ON"); } else { -- cgit v1.2.3-55-g7522