From: Reidy, R. <Ron...@ar...> - 2003-10-15 18:59:07
|
All, I am having a problem using Expect.pm to automate a database refresh = script. My environment: SuSE 7.1 Perl 5.8.0 Expect 1.15 When executing the following command: my $sql =3D Expect->spawn("/path_to_directory/sqlplus /nolog\r"); this error 'Cannot sync with child: Interrupted system call at Expect.pm = line 125' is thrown. I have looked at the Expect.pm source, but I do not understand what the = problem would be with this command. I used the debugger to step through = the code, and all environment variables necessary to run sqlplus are = set, and the path information in the command is correct also. Can anyone lend me a hand on resolving this issue? Thank you. ----------------- Ron Reidy Senior DBA Array BioPharma, Inc. This electronic message transmission is a PRIVATE communication which = contains information which may be confidential or privileged. The information is = intended=20 to be for the use of the individual or entity named above. If you are = not the=20 intended recipient, please be aware that any disclosure, copying, = distribution=20 or use of the contents of this information is prohibited. Please notify = the sender of the delivery error by replying to this message, or notify us = by telephone (877-633-2436, ext. 0), and then delete it from your system. |