ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm developing a grid portal using PyGTK and looks like i'm stuck at this place. can anybody tell me how to give input to a C program which has been executed by os.system() call in PyGTK.
my problem is somewhat similar to providing password via PyGTK window to 'su' (in linux 8.0, red hat, asking for superuser password), i'm not able to give input(here password) on PyGTK window after 'su' is executed, instead the prompt appears on the terminal. this is proving to be a grt hiderance in building the GUI.
we've tried input redirection, but it doesn't seem to work.
I can't answer your question, but I can tell you that the #python channel on irc.freenode.net is a very knowledgable and friendly irc channel. I'm sure they can help you there if you don't find anything here.
thanx ppl, for the help.
i did check the websites but they didn't prove to be of much help.
i want to try this in other way, can someone suggest where the source code of login password prompt is stored.
i might get a hint for developing my GUI.
bye,
Last edited by on_the_grid; 03-17-2005 at 03:59 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.