Qt-interest Archive, July 2007
QProcess and passwords input on windows
Message 1 in thread
Hello dear list,
I am writing a gui that wraps a command line interface on windows. With
QProcess, I have no problem for sending input to the process on stdin,
but when the process asks for password stdin is useless.
In the archives I found exactly the same issue
http://lists.trolltech.com/qt-interest/2003-09/thread00580-0.html.
I've tried to contact the author of the message, without any luck...
Did someone face the same problem or/and have any solution to propose ?
I'm not a win32 expert, so any help would be very appreciated.
Thanks
--
[ signature omitted ]
Message 2 in thread
"Jean Collonville" <jean.collonville@xxxxxxxxxxxxxx> wrote in message
news:f7kgf2$in2$1@xxxxxxxxxxxxxxxxxxxxx
> Hello dear list,
> I am writing a gui that wraps a command line interface on windows. With
> QProcess, I have no problem for sending input to the process on stdin,
> but when the process asks for password stdin is useless.
>
> In the archives I found exactly the same issue
> http://lists.trolltech.com/qt-interest/2003-09/thread00580-0.html.
> I've tried to contact the author of the message, without any luck...
>
> Did someone face the same problem or/and have any solution to propose ?
>
> I'm not a win32 expert, so any help would be very appreciated.
Hello Jean,
How does the process ask for the password? Or is it the OS asking for some
password (i.e. the process you want to start requires administrative
rights, i.e. on Vista)?
Volker
--
[ signature omitted ]
Message 3 in thread
On Wed, 2007-07-18 at 12:51 +0200, Volker Hilsheimer wrote:
> "Jean Collonville" <jean.collonville@xxxxxxxxxxxxxx> wrote in message
> news:f7kgf2$in2$1@xxxxxxxxxxxxxxxxxxxxx
> > Hello dear list,
> > I am writing a gui that wraps a command line interface on windows. With
> > QProcess, I have no problem for sending input to the process on stdin,
> > but when the process asks for password stdin is useless.
> >
> > In the archives I found exactly the same issue
> > http://lists.trolltech.com/qt-interest/2003-09/thread00580-0.html.
> > I've tried to contact the author of the message, without any luck...
> >
> > Did someone face the same problem or/and have any solution to propose ?
> >
> > I'm not a win32 expert, so any help would be very appreciated.
>
> Hello Jean,
>
> How does the process ask for the password? Or is it the OS asking for some
> password (i.e. the process you want to start requires administrative
> rights, i.e. on Vista)?
>
Hi, thanks for your reply
The program simply waits for user's input in the console. There is no
'OS based authentication'
Actually it works exactly as if you start an 'ssh' or 'cvs login' into
the console.
Jean
--
[ signature omitted ]