- 
    Bug 
- 
    Resolution: Fixed
- 
    Major 
- 
    Window 8.1
 Jenkins 1.580.1
if you attempt to run a dos batch file that has an "exit" command within it then the task does not notice that the interpreter has terminated.
e.g. in workflow create a CPS with the following
node {
      bat '''echo hello
exit 1'''
      echo 'should not be seen'
}
This results in a workflow that will run forever.
- depends on
- 
                    JENKINS-32000 durable-task 1.7 breaks workflow bat steps -         
- Open
 
-         
- is related to
- 
                    JENKINS-28759 Batch steps on slaves randomly hang when complete -         
- Open
 
-         
- links to