BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io

Improve task DSL to allow access to exit code

Description

It would be great if we could get the exit code from running a task as follows:

mytask = task( 'foo' ).target( 'bar' ); myTask.run(); myTask.getExitCode();

Currently, the way it has to be done is by getting the exit code of the previous task as follows:

task( 'foo' ).target( 'bar' ).run(); exitCode = systemSetting.getSystemSetting("exitCode");

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Assignee

Reporter

Fix versions

Priority

Created January 15, 2019 at 4:47 PM
Updated February 28, 2019 at 11:16 PM
Resolved January 15, 2019 at 4:52 PM

Flag notifications