Skip to content

Instantly share code, notes, and snippets.

@juanluelguerre
Last active November 20, 2021 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanluelguerre/f8c5f73c925bc9be25effe6d4fa1d0cb to your computer and use it in GitHub Desktop.
Save juanluelguerre/f8c5f73c925bc9be25effe6d4fa1d0cb to your computer and use it in GitHub Desktop.
[BLOG] Windows Terminal Scripts Execution
$orchestration = '--title "Workflow Orchestration" -- pwsh.exe -Interactive -NoExit -WorkingDirectory ../../MicroServices/Workflow/Orchestration -Command dapr run --app-id subpla-workflow-orchestration --dapr-grpc-port 50000 --app-port 3001'
$TechValidation = '--title "Techical Validation" -- pwsh.exe -Interactive -NoExit -WorkingDirectory ../../MicroServices/Workflow/Processes\TechnicalValidation -Command dapr run --app-id techvalidation-worker --dapr-grpc-port 50001 --app-port 5050 --app-protocol grpc'
#$cmd = '-M -w -1 nt ' + $orchestration + '; nt ' + $TechValidation
$cmd = '-w -1 nt ' + $orchestration + '; split-pane ' + $TechValidation
Start-Process wt $cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment