From: Glenn Jackman on 24 Jun 2010 10:53 At 2010-06-23 05:48AM, "Uwe Klein" wrote: > Sooraj S wrote: > > Thanks for your reply.But I'm not tokenising the command. I want to > > send the command as such from my perl script. Is it possible to accept > > it in my expect script? > > > > ----- > > $command = "abc -option1 op1 -option2 op2" > > system("./my_expect $command"); > > ---- > no idea, I'm not a perlite ;-) > > what about > > system("./my_expect \"$command\""); Would be better to use: system("./my_expect", $command); -- Glenn Jackman Write a wise saying and your name will live forever. -- Anonymous
First
|
Prev
|
Pages: 1 2 Prev: Expect/TCL Configuration Issue - Form POST submit not working Next: ANN: DiffUtil |