This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't call expect from a Cygwin shell script.


Damo, David wrote:
> No errors. :( Just does not run from the shell script when called from the JSP, however the script works when called from command prompt. This same configuration works in UNIX. We need to call expect from the shell script through the JSP to capture the output.

Perhaps you are missing some required DLL for expect.  Check the exit
code after running expect.  Assuming expect failed due to a missing DLL,
the exit code should indicate that by being non-zero.

You might try reinstalling at least expect and perhaps all other Cygwin
packages.  I think cygcheck may be able to tell you what exactly might
be missing as well if you would like to debug this further.

-Jeremy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]