[Tutor] Where to start, running interactive bash script in Qt GUI

Alan Gauld alan.gauld at btinternet.com
Wed Apr 7 20:23:08 CEST 2010

"Dotan Cohen" <dotancohen at gmail.com> wrote

> I have an interactive bash script that asks for a password, then
> connects a remote machine via fuse with the supplied password. 

> there a way to wrap a bash script with Python for a GUI, ask for a
> line of user input, then pass that to the bash script?

Rather than wrap the bash script I'd do the equivalent in Python.
Pop up a GUI window that captures the password then call fuse 
directly from Python via the subprocess module.

Rather than use Qt I'd use EasyGUI to just pop up an input box. 
It will be much easier.



Alan G.

More information about the Tutor mailing list