Sorry if I phrased the question a bit weird.
I\'m trying to debug a program, and I\'d like to redirect both the input and output from-to files, like this: