Opened 10 years ago
Closed 10 years ago
#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 , 10 years ago
| Attachment: | 4-13-2016 9-11-21 AM.png added |
|---|
comment:1 by , 10 years ago
| Type: | Bug → Feature Request |
|---|
comment:2 by , 10 years ago
| Version: | 3.3.14.0 |
|---|
comment:3 by , 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 , 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 , 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 , 10 years ago
| Component: | AutoIt → SciTE4AutoIt |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
| Version: | → Other |
comment:8 by , 10 years ago
| Resolution: | → Completed |
|---|---|
| Status: | assigned → closed |
Will be implemented if Autoit3Wrapper v 16.306.1237.3.
Jos

Automatic ticket cleanup.