Is there a way to have a GUI for bash scripts?

I have several bash scripts, some easy to copy, search, write strings to files, etc.

I am Ubuntu. and I searched on google, but it seems like everyone is doing this in python. I could do it in python, but since I'm not a python programmer, I just know the basics. I have no idea how to call sh script from a graphical interface written in python.

If anyone has a link or something to say, please leave a line.

Regards, Mario

+3
source share
4 answers

Is there a way to have a GUI for bash scripts?

You can try using Zenity .

, GTK .


, sh script , python.

, subprocess.

Python Python , Bash.

+7

, bash ( ). , - .

0

, . script python - python, os.system.

"guis" bash, zenity .

0

If you want to display dialog boxes, calendar selection fields, etc., you can take a look at dialog and whiptail . They are not graphic - they use text mode - but they may be appropriate for your needs.

0
source

Source: https://habr.com/ru/post/1761305/


All Articles