Modify

Opened 9 years ago

Closed 8 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 9 years ago.

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by anonymous

comment:1 Changed 9 years ago by mLipok

  • Type changed from Bug to Feature Request

comment:2 Changed 9 years ago by TicketCleanup

  • Version 3.3.14.0 deleted

Automatic ticket cleanup.

comment:3 Changed 9 years ago by Jos

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 Changed 9 years ago by anonymous

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 Changed 8 years ago by Jos

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 Changed 8 years ago by Jos

  • Component changed from AutoIt to SciTE4AutoIt
  • Owner set to Jos
  • Status changed from new to assigned
  • Version set to Other

comment:7 Changed 8 years ago by TicketCleanup

  • Version Other deleted

Automatic ticket cleanup.

comment:8 Changed 8 years ago by Jos

  • Resolution set to Completed
  • Status changed from assigned to closed

Will be implemented if Autoit3Wrapper v 16.306.1237.3.

Jos

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jos.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.