I run the program from the command line and accept stdin . Therefore, I expect this use.
my-program < sample-file
It works well. The problem is that I cannot specify stdin redirection in Xcode4. It has an execution argument, but it does not support stdin redirection. He seems to be running away from all arguments.
How to debug stdin redirection in Xcode4?
source share