Wrapper app or code for running shell scripts

asked 2014-03-03 09:00:12 +0300

melg01 gravatar image

updated 2014-03-04 22:19:59 +0300

Really badly needed... could someone publish a link to an open source code framework for a simple launcher or wrapper app for starting a command line command or shell script? I have two simple commands I need regularly:

It would be a great help starting them through a native app interface. Some additional requirements / wishes:

  • Allow running default user (nemo) or su-ed (root) scripts
  • Optional parameter input with value, slider, pull-down...
  • Implement script start/stop (parameter passing)
  • Implement cover functionality: running status, start/stop

Ideally the wrapper/launcher app could be generalized in such a way, that it would be able to read some settings (including the needed shell script) from a text or xml file. Otherwise it would have to be compiled separately for every new shell script, but that's not really an issue and could have even some other advantages (e.g. probably from a security point of view too).

This question is related to https://together.jolla.com/question/24190/launch-shell-commands-from-user-interface/, but it explicitly asks for publishing a 3rd party app code that could be adapted and used individually.

edit retag flag offensive close delete


The simple desktop launcher workaround as suggested in the above question is of no help for scripts which need some root-only command. Still needing an app who would enable all this.

melg01 ( 2014-03-04 22:19:28 +0300 )edit

Why don't you go ahead yourself instead of asking for somebody doing the job for you? Shouldn't be that complicated.

marsch ( 2014-03-05 09:58:25 +0300 )edit