Skip to content

Script locations alone not sufficient to make scripts work as expected. #6

Open
@atcw

Description

@atcw

Just dropping the absolute location of a script into one of the textboxes did not work for me. There was no visible effect.
Reading the source and understanding the Datasource - Engine : Executable i found that it tries to start a KProcess with the contents of the script-box verbatim.
Unfortunately this does not work because the system itself does not interpret the .sh shell files and does not start them with their interpreter (i.e./e.g. bash) even if there is a shebang in the files. However prefixing the textbox-entries with "bash " for .sh files solved it for me. Since Plasmoids are geared towards dekstop users maybe documenting this behaviour or find a fitting interpreter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions