[PyKDE] QProcess: more guidance needed

Tina Isaksen tina at bestemselv.com
Sun Mar 12 03:25:49 GMT 2006


Andreas Pakulat wrote:

>Here you go, the attached program works for me, after 5 seconds apt-get
>correctly gets the "y". Note that the "\n" after it is needed, because
>else apt doesn't get that this is all you want to send.
>
>Andreas
>
Thanks! I see where I messed up. I tried all kinds of ways to feed the 
carriage return (\n), except like you did ("Y\n") because I for some 
reason thought it would not be recogniced that way. Again I couldn't see 
the woods because of all the trees. ;)

Tina

-- 
Project: Tinapt
http://tinapt.berlios.de/
SVN repository:
http://svn.berlios.de/wsvn/tinapt/trunk/?rev=0&sc=0




More information about the PyQt mailing list