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" <[EMAIL PROTECTED]>
12/09/2004 06:50 PM
Please respond to "Ant Users List"
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]