Modify

#3221 closed Feature Request (Completed)

AutoItWrapper not stopping if #AutoIt3Wrapper_Run_Before fails

Reported by: cory.r.stein@… Owned by: Jos
Milestone: Component: SciTE4AutoIt
Version: Severity: None
Keywords: Cc:

Description

When using the AutoItWrapper to compile, if any of the #AutoIt3Wrapper_Run_Before actions fails the script continues to be compiled. Would be nice to have more control to stop the script from continuing.

Attachments (1)

4-13-2016 9-11-21 AM.png (9.8 KB ) - added by anonymous on Apr 13, 2016 at 2:13:34 PM.

Download all attachments as: .zip

Change History (9)

comment:1 by mLipok, on Apr 15, 2016 at 12:56:30 PM

Type: BugFeature Request

comment:2 by TicketCleanup, on Apr 15, 2016 at 1:00:02 PM

Version: 3.3.14.0

Automatic ticket cleanup.

comment:3 by Jos, on Apr 16, 2016 at 9:50:44 AM

How would you see this implemented as the returncode could be different for each process?
Not sure how this could work considering you can have multiple Run_Before or Run_After statements.

Thoughts?
Jos

comment:4 by anonymous, on May 5, 2016 at 3:09:44 PM

Ideally, I'd like to see the compile stop if any of the before or after directives have a non-zero return code (rc:1). Perhaps, the default behavior could remain as is, but something like #AutoIt3Wrapper_Run_StopOnError=Y could be used to ensure any failures stop the execution.

comment:5 by Jos, on Jun 4, 2016 at 4:57:06 PM

Still feel that an none zero returncode doesn't mean there is an error condition. Implementing an extra Directive and have that test for none zero is pretty easy so have no big objections against it.
Will put it on my todo list to look and see its feasibility.

Jos

comment:6 by Jos, on Jun 4, 2016 at 4:57:50 PM

Component: AutoItSciTE4AutoIt
Owner: set to Jos
Status: newassigned
Version: Other

comment:7 by TicketCleanup, on Jun 4, 2016 at 5:00:02 PM

Version: Other

Automatic ticket cleanup.

comment:8 by Jos, on Jun 4, 2016 at 5:42:16 PM

Resolution: Completed
Status: assignedclosed

Will be implemented if Autoit3Wrapper v 16.306.1237.3.

Jos

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.