views:

14

answers:

0

Hey,

I'm working on a project where rather than using command line arguments I am supposed to just pipe a file to stdin and pipe output to another file.

ie I need to run something like:

./program < infile.txt > outfile.txt

Is there a way to specify to Eclipse this is the command I want when it is run?

I am running the Eclipse-C/C++ environment.