开发者

GUI front end to execute a list of shell scripts

I have a list of Unix commands that is used to install our software. Instead of copy and pasting the commands one by one into a terminal, I would like to present the list in a GUI front end, so that the person installing it just needs to click a button next to the command to execute it.

The timestamp should be logged as well as the status (execution in progress or exited). As the list of commands changes for each installation and can be executed in parallel or in a specific order, the GUI front end should be able to reflect these changes easily.

Is there an existing tool that already provides such a front end given a list of Unix commands? If not, which tool do you recommend to use开发者_如何学C to develop such a front end?


You could probably use something like Zenity, or maybe gtkdialog, if either are available on your platform and/or you can include them with the software you want to install.


I would use Tcl/Tk, though a solution with Python and either Tkinter or wxPython would be equally easy if you're familiar with Python. Both those languages, as well as many other dynamic languages, make it pretty easy to do tasks like this. If you know some other dynamic language (ruby, groovy, perl, etc) there's a good chance it has a GUI toolkit you could use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜