Modify

Opened 10 years ago

Closed 10 years ago

#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 10 years ago.

Download all attachments as: .zip

Change History (9)

by anonymous, 10 years ago

Attachment: 4-13-2016 9-11-21 AM.png added

comment:1 by mLipok, 10 years ago

Type: BugFeature Request

comment:2 by TicketCleanup, 10 years ago

Version: 3.3.14.0

Automatic ticket cleanup.

comment:3 by Jos, 10 years ago

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, 10 years ago

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, 10 years ago

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, 10 years ago

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

comment:7 by TicketCleanup, 10 years ago

Version: Other

Automatic ticket cleanup.

comment:8 by Jos, 10 years ago

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.