Description
Is your feature request related to a problem? Please describe.
When launching an executable managed with Root Builder via MO2's CLI, the game launches and performs as expected with mods functioning properly.
i.e.
& "PATH TO MO2\Mod Organizer.exe" -i "Skyrim SE - GOG" -p "Some Profile" run -e "SKSE"
However, on game exit, an error is thrown that states "Failed to run {EXECUTABLE}. The logs might have more information." As seen below:

In the above context, I have Skyrim Script Extender 64 installed to this path, which corresponds to an action in MO2 called SKSE
:
D:\Modding\MO2 Instances\Skyrim SE - GOG\mods\Skyrim Script Extender (SKSE64)\
Structured with skse_loader.exe
and skse64_1_6_659.dll
in the extracted mod's Root
sub-folder.
With the corresponding action set up in MO2:

This error is not thrown when launching that executable via MO2's GUI, even after game exit.
Describe the solution you'd like
Either don't throw the error, or somehow articulate a more appropriate solution. As the mods and the game performs as expected on game launch, this error doesn't seem to be need in this specific context.
Describe alternatives you've considered
I've considered leaving skse_loader.exe
in the game's root folder and pointing MO2 to that executable, it works and successfully exits as expected, however this still leaves the game's root folder populated with non-vanilla files.
Additional context
I've observed this behaviour in both 2.4.4
and 2.5.0
.
I do not believe this is an error with Root Builder, as this error being thrown is dependent on how the executable managed via MO2 is launched (i.e. launched via CLI or GUI), not the fact that it is a mod structured to be used with Root Builder.