Running project with command line arguments
Running project with command line arguments
- Subject: Running project with command line arguments
- From: Roger Banks <email@hidden>
- Date: Fri, 20 Feb 2009 10:17:05 -0600
I wrote a little command line program. For debugging, I created a little test data file and specified that the file be redirected to STDIN on my executable command line arguments list. It works fine for debugging in XCode. My program receives the input and the output goes to the pseudo terminal. However, I don't always want to go to the debug screen. Sometimes when I make a change to the code I just want to hit "Build & Run" to see the output. When I try to do this, my input is not received on STDIN. My program just sits there waiting for input. I realize that I can go to Terminal and type ./MyProg <MyInput but I want to know if it is possible to stay in XCode and have it work the way I expect it should? If not, why not? Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden