y, May 02, 2006 11:47 AM
> To: Ant Users List
> Subject: RE: sshexec hangs after remote script exits
>
> Did you mean to say ...ssh never detects that the script exits... ?
>
> What OS are you executing the script on? Can you send the relevant
> portion of your build.xml please?
Hi,
2006/5/3, Brown, Carlton <[EMAIL PROTECTED]>:
I've got an sshexec command that calls a remote script. The remote
script can take something like 5-15 minutes to run. Trouble is, the
sshexec never detects that the script exists. What have I done wrong?
Which ant version are you using?
T
Try first with a simple command (like "ls"). Check if your command
requests for input or output. Does your command spawns background
processes (for example, starting a web server)? If so, does it redirect
stdin, -out, -err streams (for example, "nohup" does not always do
that)? Can you try to e
Did you mean to say ...ssh never detects that the script exits... ?
What OS are you executing the script on? Can you send the relevant
portion of your build.xml please? What version of ssh server are you
running? Also, try to see if you can get a script to return that takes
like 2 min, 3 min, etc.