-
Notifications
You must be signed in to change notification settings - Fork 0
/
start_all.ps1
13 lines (12 loc) · 1.06 KB
/
start_all.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
# Set-ExecutionPolicy Unrestricted
Start-Process powershell.exe -ArgumentList @('dotnet', 'Broker\bin\Debug\netcoreapp2.1\Broker.dll', '@(1)')
Start-Process powershell.exe -ArgumentList @('dotnet', 'Broker\bin\Debug\netcoreapp2.1\Broker.dll', '@(2)')
Start-Process powershell.exe -ArgumentList @('dotnet', 'Broker\bin\Debug\netcoreapp2.1\Broker.dll', '@(3)')
Start-Sleep -Second 3
Start-Process powershell.exe -ArgumentList @('dotnet', 'Consumer\bin\Debug\netcoreapp2.1\Consumer.dll', '@(1,1)')
Start-Process powershell.exe -ArgumentList @('dotnet', 'Consumer\bin\Debug\netcoreapp2.1\Consumer.dll', '@(2,2)')
Start-Process powershell.exe -ArgumentList @('dotnet', 'Consumer\bin\Debug\netcoreapp2.1\Consumer.dll', '@(3,3)')
Start-Sleep -Second 3
Start-Process powershell.exe -ArgumentList @('dotnet', 'Publisher\bin\Debug\netcoreapp2.1\Publisher.dll', '@(1)')
Start-Process powershell.exe -ArgumentList @('dotnet', 'Publisher\bin\Debug\netcoreapp2.1\Publisher.dll', '@(2)')
Start-Process powershell.exe -ArgumentList @('dotnet', 'Publisher\bin\Debug\netcoreapp2.1\Publisher.dll', '@(3)')