How to open external application with arguments in Photoshop UXP?

Hi,
I am trying to open an application with shell.openPath() from the photoshop UXP plugin. It opens the application, but I don’t know how to pass some arguments to the application like this: <application.exe> -path = “…”
Is it impossible?