Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

question about compiling Expect script with freewrap: invalid command spawn
I want to compile my scripts for distribution.  I just searched this
news group and found someone said that I can use freewrap or prowrap
to compile expect scripts.
So I download freewrapBLT561 and installed it in my linux(9.0)
machine, and then compiled one of my little script. compiled
successfully, that's wonderful! but when I try to run the executable
file, it reports "invalid command spawn".

Why? Spawn is command of EXPECT, does freewrap only support TCL
command ? doesn't support EXPECT command?

another problem, I found the executable file doesn't display output
information: when I run the file with error parameters, it should
display some information to indicate error parameters, but now it
don't display this information, just end without any information.
(don't like behavior of original script file)

Report this thread to moderator Post Follow-up to this message
Old Post
Hans Yin
10-27-04 08:57 AM


Re: question about compiling Expect script with freewrap: invalid command spawn
hansyin@hotmail.com (Hans Yin) wrote in message news:<227a35f7.0410261724.29c2232d@posting.
google.com>...
> I want to compile my scripts for distribution.  I just searched this
> news group and found someone said that I can use freewrap or prowrap
> to compile expect scripts.
> So I download freewrapBLT561 and installed it in my linux(9.0)
> machine, and then compiled one of my little script. compiled
> successfully, that's wonderful! but when I try to run the executable
> file, it reports "invalid command spawn".
>
> Why? Spawn is command of EXPECT, does freewrap only support TCL
> command ? doesn't support EXPECT command?
>
> another problem, I found the executable file doesn't display output
> information: when I run the file with error parameters, it should
> display some information to indicate error parameters, but now it
> don't display this information, just end without any information.
> (don't like behavior of original script file)

Is there anybody who can help me?  I need to compile my expect script
immediately. (for business! :)) I knew TDK can do it, but it's not
free. or anybody can tell me some other free products can compile
expect script?

for the second problem, I already knew the cause, it's because the
file ends immediately because of error parameters, that all output
information cann't be seen is because those information is in the
running window which was closed as well.

Any responses will be very appreciated!  thanks a lot.

Report this thread to moderator Post Follow-up to this message
Old Post
Hans Yin
10-28-04 08:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Tcl archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:54 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.