Skip to content

Instantly share code, notes, and snippets.

@itsthedoc
Created February 26, 2018 12:38
Show Gist options
  • Save itsthedoc/ea7bbe8301b1657974af94e5671ffbdb to your computer and use it in GitHub Desktop.
Save itsthedoc/ea7bbe8301b1657974af94e5671ffbdb to your computer and use it in GitHub Desktop.
Start-ProcessExample
$ProcessParameters = @{
FilePath = "C:\Users\xxx\AppData\Local\UiPath\app-18.1.2\UiRobot.exe"
ArgumentList = @(
'/file:"C:\Users\xxx\Documents\UiPath\test\Main.xaml"'
"/input:`"{'arg1':'$Var'}`""
)
NoNewWindow = $true
Wait = $true
}
Start-Process @ProcessParameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment