Re: how to use GNAT.Expect



Jens K S wrote:

Thank you for the links, actually I was looking to use SFTP, but curl
looks interesting also. Any idea about my problem though?

This exception

raised GNAT.EXPECT.PROCESS_DIED : g-expect.adb:594

and the fact that it works for Samuel suggests that the child process is
finishing prematurely without producing the output you expect. Perhaps even
it isn't starting? I'd check the spawning call for path/parameter problems.
.



Relevant Pages

  • Re: SmtpMail.Send - Exception: "Could not access CDO.Message object"
    ... Jens wrote: ... > The web server and the mail server are two different physical computers. ... Exception has been thrown by the target of an invocation. ... to get the real error message of why the mail wasnt sent like ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IMWSyncReader::Open()
    ... I discovered that this exception is being handled inside of Windows ... the debugger is given a first chance to handle ... If no handler in the child process steps forward to handle ...
    (microsoft.public.windowsmedia.sdk)
  • Re: Can not catch PTY::ChildExited exception
    ... The exception was raised when the child process terminated ... code with begin rescue block and I can catch ChildExited exception. ... puts "Caught child exited exception!" ...
    (comp.lang.ruby)
  • Re: Bug in popen2.Popen3?
    ... Jeffrey Barish wrote: ... > child process if it has finished or -1 if the process is still running. ... > os.waitpid will raise an exception. ... > is caught and poll() returns self.sts, ...
    (comp.lang.python)
  • Bug in popen2.Popen3?
    ... Popen3 provides the method pollwhich returns the exit status of the ... If the child process has already exited when poll() is first called, ... os.waitpid will raise an exception. ...
    (comp.lang.python)