winbench / bench

Portable Software Environment for Windows
https://winbench.org
MIT License
20 stars 3 forks source link

Allow launching an app via a shell call #139

Closed mastersign closed 5 years ago

mastersign commented 5 years ago

Currently the LauncherExecutable is used to run a windows executable directly. It would be helpful to be able to launch a shell call instead.

The current behavior should stay the default. But if LauncherViaShell is true then use the shell to interpret LauncherExecutable and LauncherArguments.

mastersign commented 5 years ago

This differentiation is not necessary, because the launcher scripts always uses the CMD command START which is using the shell to run the apps executable. Only in the Bench Dashboard app executables are launched directly without shell interpretation.

To solve this issue, no new Launcher* app property is needed, instead the behavior of Bench Dashboard should be changed to always use the shell.