Note that there are some explanatory texts on larger screens.

plurals
  1. POLaunching an independent process from a .bat
    primarykey
    data
    text
    <p>I have a Hudson job that launches a <code>.bat</code> script file that itself launches my Jonas application server and a couple of other tasks too.</p> <p>The script is properly launched from Hudson on my slave, then my application server is started but at the moment my Hudson job ends the application server is killed. This is due to the fact that all the processes launched during this process share the same pipes (stdin/sdtout/stderr) as explained here <a href="http://wiki.hudson-ci.org/display/HUDSON/Spawning+processes+from+build" rel="nofollow noreferrer">http://wiki.hudson-ci.org/display/HUDSON/Spawning+processes+from+build</a>.</p> <p>As you already understood, this is really not what I want! Actually I have another Hudson job that is launched right after the one I described above to test my application. Thus, as my application server has been killed at the same moment the Hudson jobs ended, my tests cannot run at all...</p> <p>So how can I solve this?</p> <p>This problem is strictly linked to the fact that it is Hudson that launches the script, if I launch the same script from the command line the problem does not occur at all...</p> <p>In the link given above they propose to use the "at" command which allows to schedule a task in Windows. I don't really want to use this solution as this implies modifications in my .bat script because I launch it from Hudson.</p> <ul> <li>I suppose there is a way to say to my .bat file "Ok you are going to launch my application server BUT in an independent process". Do you guys know how to do this?</li> <li>Maybe Hudson is able to solve this issue? Do you Hudson's guys know how?</li> </ul> <p>Thanks in advance for you help!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload