NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Setting Command Line Arguments in NetBeans IDE 7.1?

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
grdorff



Joined: 29 May 2012
Posts: 1

PostPosted: Tue May 29, 2012 9:49 pm    Post subject: Setting Command Line Arguments in NetBeans IDE 7.1? Reply with quote

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

PostPosted: Mon Jul 02, 2012 3:32 pm    Post subject: The same with 7.2RC1... can not find how to pass command line args Reply with quote

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.





PostPosted: Wed Jul 04, 2012 11:02 am    Post subject: Setting Command Line Arguments in NetBeans IDE 7.1? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo