From: Jeffery C. <jc...@ya...> - 2003-04-10 21:53:12
|
I read on this list a posting from last month regarding the spawn command in expect-perl. I observe the same behavior: 1. Spawn generates a new process for the command - I see it in the process table and I can see that it is running and collecting output. 2. Expect perl module will wait indefinitely and not return control from the Expect->spawn(). The poster said: "It turns out that I compiled perl with the wrong value for "byteorder". How that came in there is a long story, but I do think it is a bug that a specific setting for "byteorder" in Policy.sh is ignored when "crosscompile" is defined... but it isn't an expectperl bug :)" +http://sourceforge.net/mailarchive/forum.php?thread_id=1896340&forum_id=6382 If this poster is still on the list, could you provide some additional details about your environment? I am on Solaris 2.6, perl 5.004_04. There was no Policy.sh in this release and the Configure script autodetects the byte order to be 4321. I have tried it with 4321 and 1234 and still the spawned process hangs. I appreciate any suggestions. Jeff ===== Planet Earth (tm) http://jefferycann.com/ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |