I managed to run a .exe file at startup using the answer given here: Running an EXE from C# using UWP
However, I need to run another executable when my UWP app is closed. Does anybody know how to do this? Is there a way to link two different exes to the FullTrustLauncher? Or maybe there is a way to parameterize the usage of this FullTrustLauncher? I know the launch async function can be parameterized, but I have no idea what there parameters are for. So, an example would be nice.
Cheers!