Opened 9 years ago
Closed 9 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)
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
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 9 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 9 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:8 Changed 9 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.
Automatic ticket cleanup.