-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Hello and greetings,
I am trying to start an application with multiple arguments, but it doesn't work as expected.
It looks all my arguments are put into a single String object like "--arguement1=value1 --argument2=value2", when my application starts, it use the whole String as a single argument but not two arguments.
Here is my code to start my application:
Application application =
new Application(
new ElementBuilder()
.automation(automation)
.applicationPath("PAHT\myapplication.exe").applicationArguments("--arg1=value1 --arg2=value2")
after I start my application, I tried to view it in Process Explorer from Microsoft, and I find it shows something like that my application.exe "--arg1=value1 --arg2=value2"
Is there any other ways to make this work?
Thanks