NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
grdorff
Joined: 29 May 2012 Posts: 1
|
Posted: Tue May 29, 2012 9:49 pm Post subject: Setting Command Line Arguments in NetBeans IDE 7.1? |
|
|
| Where Do I specify command line arguments while debugging in IDE 7.1? |
|
| Back to top |
|
 |
alukin
Joined: 06 May 2011 Posts: 2 Location: Chernihiv, Ukraine
|
Posted: Mon Jul 02, 2012 3:32 pm Post subject: The same with 7.2RC1... can not find how to pass command line args |
|
|
I tried zillion variants playing with "Run Command" input string in project properties...
1) "${OUTPUT_PATH}" --config=my.cf - arguments just get ignored.
2) "${OUTPUT_PATH} --config=my.cf" "...does not exist or not executable." error windowe apears.
Is it bug? How I can pass command line arguments to my program? |
|
| Back to top |
|
 |
Igor Nikiforov Posted via mailing list.
|
Posted: Wed Jul 04, 2012 11:02 am Post subject: Setting Command Line Arguments in NetBeans IDE 7.1? |
|
|
Take a look at Welcome sample (New Project -> Samples -> C/C++ -> Welcome)
It just outputs it's command-line arguments. So I've tried you first
variant and it works
perfectly on Welcome.
The second variant is not correct and should not work.
Regards,
Igor
alukin wrote:
| Quote: | I tried zillion variants playing with "Run Command@ string...
1) "${OUTPUT_PATH}" --config=my.cf - arguments just get ignored.
2) "${OUTPUT_PATH} --config=my.cf" "...does not exist or not executable." error windowe apears.
Is it bug? How I can pass command line arguments to my program?
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|