Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for an <exec> action to complete before executing the next action #139

Closed
end2endzone opened this issue Dec 19, 2023 · 0 comments
Closed
Labels
enhancement New feature or request
Milestone

Comments

@end2endzone
Copy link
Owner

end2endzone commented Dec 19, 2023

Is your feature request related to a problem? Please describe.
Using the <exec> action start a process but does not wait for the process to complete/exit gracefully.
If this process requires a few seconds before completing, the next action is started before the first process has time to complete.

Most use cases uses the <exec> action as the last action. The behavior explained above is usually not a problem. However, if one needs to use multiple <exec> actions or have an action that is based on the result of the first action, this actually result in a problem.

Describe the solution you'd like
We should add a wait attribute that when set to true, would tell the system to wait for the process to exit before starting another action. A timeout attribute should also be added that would stop the wait to return the control to File Explorer in case a process never ends (or loop infinitely). If a timeout value is not specified, the timeout time should be set to infinite by default.

Describe alternatives you've considered
N/A

Additional context
N/A

@end2endzone end2endzone added the enhancement New feature or request label Dec 19, 2023
@end2endzone end2endzone added this to the 0.9.0 milestone Dec 20, 2023
end2endzone added a commit that referenced this issue Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant