SSH EXEC does not finish
Answered
Hello
I have a Build Configuration, which uses the SSH Exec to start an application on a host.
The script executes well on the remote host and starts the application.
(The commands are very simple. A wget is executed the fetch the latest build from TC, after that, this program is started.)
The problem is that TC does not finish this Build Configuration. After some time this build configuration goes into overtime status.
Then, I have to manually stop the build. TC does not terminate this build within a reasonable time.
Does anybody what the problem is? Help is greatly appreciated.
If necessary, I can attach the script.
Best Regards
Dieter
Please sign in to leave a comment.
Hello Dieter,
Seems, you need to run your program in a background. How to do it depends on a platform where you are executing the script.
Here is a related thread on StackOverflow.
Hello Nadia
I tried all combinations of sending the program to background and nohup. But it did not work.
After adding > /dev/null to my program, it works !
The command looks like:
/path/installer.bin --args > /dev/null
Regards
Dieter