diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/widget/EmbeddedTerminal.qml | 12 |
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(); |