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

Add "On Terminate" trigger #3584

Closed
e-t-l opened this issue Jan 28, 2024 · 1 comment
Closed

Add "On Terminate" trigger #3584

e-t-l opened this issue Jan 28, 2024 · 1 comment
Labels
added in next build Added in the next Sandboxie version Feature request New feature or idea

Comments

@e-t-l
Copy link

e-t-l commented Jan 28, 2024

Is your feature request related to a problem or use case?

Just as the trigger "On Box Start" very helpfully runs commands when the first program starts in a box, an "On Terminate" trigger would run commands when programs in a box terminate.

Describe the solution you'd like

It would suffice to add a general "On Box Terminate" trigger that runs when all programs have terminated, but if possible a more granular "On Program Terminate" that runs on the termination of specific programs would be great!

Sandboxie has a Stop Behavior feature, so there's already infrastructure for performing actions based on program termination events. This proposal would simply provide an interface for users to add their own actions.

Describe alternatives you've considered

AutoHotKey is the only other solution I can think of.

@e-t-l e-t-l added the Feature request New feature or idea label Jan 28, 2024
@bastik-1001
Copy link
Contributor

I think that a trigger that runs something once the last process in a box has terminated, is very useful.

On the aspect of granularity, I am not sure how difficult that is, for some software, like those that spawn child processes, maybe even with different names or when two instances of the same software are run, but it appears indeed similar to the stop behavior, so that the same logic applies.

@DavidXanatos DavidXanatos added the added in next build Added in the next Sandboxie version label Feb 25, 2024
isaak654 referenced this issue Feb 26, 2024
… of the“On Terminate” trigger, but it remains to complete the actual trigger part.
isaak654 referenced this issue Feb 26, 2024
Completes the actual trigger action of the “On Terminate" trigger.
isaak654 referenced this issue Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added in next build Added in the next Sandboxie version Feature request New feature or idea
Projects
None yet
Development

No branches or pull requests

3 participants