Thanks for suggesting this but seems this is not working .. i tried it still send "start" to the STDOUT and not to the application. Actually i want sort of what EXPECT can do , in PERL
Regards, Sushil -----Original Message----- From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 07, 2002 3:23 AM To: Sushil Kumar Gupta Cc: '[EMAIL PROTECTED]' Subject: Re: Executable program from perl script Sushil Kumar Gupta wrote: > No it's not the command line argument that we can provide to the > application. > Okay let me give some details about the application. > > when i start acld.exe it starts one seperate GUI and then wait for commands. > when i say "start" on the command prompt, it will do something > when i say "stop" on the command prompt, it will do something > when i say "version" on the command prompt, it will give me the version of > the application. > etc etc etc > > i hope now my intent is clear. Then you probably want a pipe: open PIPE "| /path/acld.exe" or die ... print PIPE "start\n"; Or similar. -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/
msg12982/bin00000.bin
Description: application/ms-tnef