Is there any way to automatically assign pre- and post-launch actions to applications in Linux?
Exaple scanario: When I launch Virtualbox, vboxdrv is loaded transparently; when I close Virtualbox, the module gets unloaded automatically.
|
Is there any way to automatically assign pre- and post-launch actions to applications in Linux? Exaple scanario: When I launch Virtualbox, |
||||
|
|
The usual way is to wrap the application in a script
Then invoke that script instead of invoking the application directly |
|||