I have a bundle that has an 2 launch actions.
first action: launch executable net use r: ....etcetc (drive letter connected)
second action: launch windows executable notepad.

But i want to disconnect the drive (net use r: /delete) if the program (notepad) is closed.

I have tried to add an action to the tab "terminate" but nothing happend.

How can i do that?