Command Line Arguments

I've loaded an open source project into Intellij. I would now like to run some processes so that I can set breakpoints, etc. I would like to run from Intellij a call I normally run from the command line. For example,
from a command prompt I would normally run a process like this: C:\>myapp process -p mytest -f data\stats.xml

How would I replicate this from inside Intellij? I know that I would select the run menu item and edit configuations. From there, I'm not sure what to do; for example, given the above command, would -p be a separate program parameter?

Thanks very much for any help.

1 comment
Comment actions Permalink

Hello Bob,

BC> How would I replicate this from inside Intellij? I know that I would
BC> select the run menu item and edit configuations. From there, I'm not
BC> sure what to do; for example, given the above command, would -p be a
BC> separate program parameter?

Yes. Put the -p ... in the "Program Parameters" field.



0

Please sign in to leave a comment.