Opened on Apr 13, 2016 at 2:13:10 PM
Closed on Jun 4, 2016 at 5:42:16 PM
#3221 closed Feature Request (Completed)
AutoItWrapper not stopping if #AutoIt3Wrapper_Run_Before fails
| Reported by: | 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)
by , on Apr 13, 2016 at 2:13:34 PM
| Attachment: | 4-13-2016 9-11-21 AM.png added |
|---|
comment:1 by , on Apr 15, 2016 at 12:56:30 PM
| Type: | Bug → Feature Request |
|---|
comment:2 by , on Apr 15, 2016 at 1:00:02 PM
| Version: | 3.3.14.0 |
|---|
comment:3 by , 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 , 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 , 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 , on Jun 4, 2016 at 4:57:50 PM
| Component: | AutoIt → SciTE4AutoIt |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
| Version: | → Other |
comment:8 by , on Jun 4, 2016 at 5:42:16 PM
| Resolution: | → Completed |
|---|---|
| Status: | assigned → closed |
Will be implemented if Autoit3Wrapper v 16.306.1237.3.
Jos

Automatic ticket cleanup.