ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob, Anil - MWT" <Jacob.A...@menlolog.com>
Subject RE: Sshexec and nohup
Date Fri, 10 Dec 2004 00:26:13 GMT
It works fine and creates the nohup.out file,When I run it manually
after sshing over to the machine.I don't think it is creating the file
anywhere as the called script sets directories etc properly.

Anil

-----Original Message-----
From: Nick_Gianakas@sybari.com [mailto:Nick_Gianakas@sybari.com] 
Sent: Thursday, December 09, 2004 4:03 PM
To: Ant Users List
Cc: user@ant.apache.org
Subject: Re: Sshexec and nohup

Maybe it's creating it in a different directory.  The file should be in
the working directory which may not be the same as the script dir.
Did you try ssh-ing from another box and running it manually?

Regards,
Nick G





"Jacob, Anil - MWT" <Jacob.Anil@menlolog.com>
12/09/2004 06:50 PM
Please respond to "Ant Users List"
 
        To:     <user@ant.apache.org>
        cc: 
        Subject:        Sshexec and nohup



We have a script(for example start.sh) which has a nohup ./startxxxx &
in it, therefore it creates a nohup.out file. When I execute the
start.sh on the system it creates the nohup.out file and everything is
fine.
 I have an ANT build file on a remote system which uses the sshexec task
to execute the above mentioned script, however I noticed that when I
call the script thru ANT  it never creates the nohup.out file, even
through the remote script does go into the background.

Any idea's?

Anil



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message