kd Jm created JENKINS-12762: ------------------------------- Summary: Groovy script using command.execute() never finishes Key: JENKINS-12762 URL: https://issues.jenkins-ci.org/browse/JENKINS-12762 Project: Jenkins Issue Type: Bug Components: groovyaxis Environment: Win7, Jenkins 1.451, groovyaxis 0.2 Reporter: kd Jm Assignee: emanuelez
The groovy script listed below keeps running for ever, without yielding a result. Seen when clicking the "test the groovy script" button. def command = ["dir"] def proc = command.execute() proc.waitFor() def output = "${proc.in.text}".split(/\n/) return output -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira