Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
atcw opened this issue Dec 9, 2021 · 0 comments
Open

Comments

@atcw
Copy link

atcw commented Dec 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant