From mboxrd@z Thu Jan 1 00:00:00 1970 From: kaushal Subject: automate an interactive process Date: 07 Jul 2004 10:44:27 +0530 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <1089177267.1118.5.camel@kaushal> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hello all, Iam trying to automate the login program.That is I want "my process" to spawn login process and then provide it with the username and password without my interaction. I know that I can use the "expect" program for it which is based on TCL. But I want to do this from within a C program. Thanks in advance. Regards- Kaushal