Skip to content

Commit 5a6e9b0

Browse files
committed
Merge branch 'dev'
2 parents f408736 + a1631bd commit 5a6e9b0

7 files changed

Lines changed: 27 additions & 14 deletions

File tree

BenchManager/BenchCLI/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
3333
// übernehmen, indem Sie "*" eingeben:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.22.0.0")]
36-
[assembly: AssemblyFileVersion("0.22.0.0")]
35+
[assembly: AssemblyVersion("0.22.1.0")]
36+
[assembly: AssemblyFileVersion("0.22.1.0")]

BenchManager/BenchDashboard/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.22.0.0")]
36-
[assembly: AssemblyFileVersion("0.22.0.0")]
35+
[assembly: AssemblyVersion("0.22.1.0")]
36+
[assembly: AssemblyFileVersion("0.22.1.0")]

BenchManager/BenchLib/BenchTasks.cs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -534,24 +534,29 @@ private static Process StartProcess(BenchEnvironment env,
534534
throw new FileNotFoundException("The executable could not be found.", exe);
535535
}
536536
var si = new ProcessStartInfo(exe, arguments);
537-
si.UseShellExecute = false;
538537
si.WorkingDirectory = cwd;
539538
env.Load(si.EnvironmentVariables);
539+
si.UseShellExecute = false;
540540
return Process.Start(si);
541541
}
542542

543543
private static Process StartProcessViaShell(BenchEnvironment env,
544-
string cwd, string exe, string arguments,
544+
string cwd, string exe, string arguments, string label = null,
545545
ProcessWindowStyle windowStyle = ProcessWindowStyle.Normal)
546546
{
547547
if (!File.Exists(exe))
548548
{
549549
throw new FileNotFoundException("The executable could not be found.", exe);
550550
}
551-
var si = new ProcessStartInfo(exe, arguments);
552-
si.UseShellExecute = true;
553-
si.WindowStyle = windowStyle;
551+
var args = $"/C START \"{label}\" /D \"{cwd}\"";
552+
if (windowStyle == ProcessWindowStyle.Minimized) args += " /MIN";
553+
args += $" \"{exe}\" {arguments}";
554+
var si = new ProcessStartInfo("cmd.exe", args);
555+
si.WindowStyle = ProcessWindowStyle.Hidden;
556+
si.CreateNoWindow = true;
554557
si.WorkingDirectory = cwd;
558+
env.Load(si.EnvironmentVariables);
559+
si.UseShellExecute = false;
555560
return Process.Start(si);
556561
}
557562

@@ -577,7 +582,7 @@ public static Process LaunchApp(BenchConfiguration config, BenchEnvironment env,
577582
throw new ArgumentException("The launcher executable is not set.");
578583
}
579584
return StartProcessViaShell(env, cwd,
580-
exe, CommandLine.SubstituteArgumentList(app.LauncherArguments, args),
585+
exe, CommandLine.SubstituteArgumentList(app.LauncherArguments, args), app.Label,
581586
isAdorned ? ProcessWindowStyle.Minimized : ProcessWindowStyle.Normal);
582587
}
583588

BenchManager/BenchLib/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.22.0.0")]
36-
[assembly: AssemblyFileVersion("0.22.0.0")]
35+
[assembly: AssemblyVersion("0.22.1.0")]
36+
[assembly: AssemblyFileVersion("0.22.1.0")]

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ Add a link to the GitHub diff like
2525

2626
[Unreleased]: https://github.com/winbench/bench/compare/master...dev
2727

28+
## [0.22.1] - 2019-03-29
29+
30+
[0.22.1]: https://github.com/winbench/bench/compare/v0.22.0...v0.22.1
31+
32+
### Fixed
33+
* App Launch from Bench Dashboard partially broken
34+
([#139](https://github.com/winbench/bench/issues/139))
35+
2836
## [0.22.0] - 2019-03-29
2937

3038
[0.22.0]: https://github.com/winbench/bench/compare/v0.21.1...v0.22.0

res/bench-install.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SetLocal
77
:: https://winbench.org/guide/setup/
88
::
99

10-
SET VERSION=0.22.0
10+
SET VERSION=0.22.1
1111
SET TAG=v%VERSION%
1212
SET ROOT=%~dp0
1313
IF [%1] NEQ [] SET ROOT=%~dpnx1\

res/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.0
1+
0.22.1

0 commit comments

Comments
 (0)