Gradle Run for JVM uses the gradle application plugin -- not sure about native.
For JVM the Program arguments are the arguments to Gradle not to your program. In V5.something gradle the run command was augmented to accept a "--args=" parameter which passes through to your app. You could try to see if this works by first trying on command line then in dialog
--args="my program args"