jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Gant
  • GANT-23

Execute tool methods should return return code of executed process

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1.0
  • Fix Version/s: 1.1.1
  • Component/s: None
  • Labels:
    None

Description

As noted by Ruimo Uno in GANT-22:

"...current Execute class throws away the return value of Process.waitFor(). I believe it is convenient if all of the methods in the Execute class return exit value of the invoked process so that gant script can determine the process is successfully executed or not. How do you think?"

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Russel Winder added a comment - 22/Feb/08 1:30 AM

Changed return type of all the methods in the Execute tool to allow the return value from Process.waitFor to be the return code.

Show
Russel Winder added a comment - 22/Feb/08 1:30 AM Changed return type of all the methods in the Execute tool to allow the return value from Process.waitFor to be the return code.

People

  • Assignee:
    Russel Winder
    Reporter:
    Russel Winder
Vote (0)
Watch (0)

Dates

  • Created:
    22/Feb/08 1:29 AM
    Updated:
    22/Feb/08 1:30 AM
    Resolved:
    22/Feb/08 1:30 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.