aboutsummaryrefslogtreecommitdiff
path: root/src/widget
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget')
-rw-r--r--src/widget/EmbeddedTerminal.qml12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/widget/EmbeddedTerminal.qml b/src/widget/EmbeddedTerminal.qml
index 497bf49..d8c89d4 100644
--- a/src/widget/EmbeddedTerminal.qml
+++ b/src/widget/EmbeddedTerminal.qml
@@ -56,16 +56,8 @@ Item {
initialWorkingDirectory: item.workingDirectory
- shellProgram: {
- return (item.program).split(" ")[0];
- }
-
- shellProgramArgs: {
- const elements = (item.program).split(" ");
- elements.shift();
-
- return elements;
- }
+ shellProgram: 'sh'
+ shellProgramArgs: [ '-c', program ]
onFinished: {
clearScreen();