Too much to name... but damn, it got where we are needed
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Hyperbar.Windows;
|
||||
|
||||
public class StartProcessHandler :
|
||||
IRequestHandler<StartProcess>
|
||||
{
|
||||
public ValueTask<Unit> Handle(StartProcess request,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
Process.Start(request.Process);
|
||||
return default;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user