Re: specifying the source of stdin (pipe / file)
Re: specifying the source of stdin (pipe / file)
- Subject: Re: specifying the source of stdin (pipe / file)
- From: Rick Sustek <email@hidden>
- Date: Fri, 2 May 2008 10:40:55 -0700
Okay,
so, if you have a standard command line executable project that reads
from stdin, and you want to test it from Xcode, here's some tips:
To just run it, set it to use 'Pseudo Terminal' and use the 'Run Log'
window to interact with it. Text you type is recorded in regular
font, while lines emitted from your program are in bold font.
To debug it, set the debugging option to use 'Pseudo Terminal'. You
can set a command line arg to read from a file, for example "<
junk.txt". Use the 'Standard I/O' window to see the results.
This works for me anyway!
Good luck,
-Rick
_______________________________________________
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