I have a program that takes input from stdin and also takes some parameters from command line. It looks like this: cat input.txt > mypr
I have a program that takes input from stdin and also takes some parameters from command line. It looks like this:
cat input.txt > mypr
If you were doing it from a shell you'd do it like this:
% gdb myprogram gdb> run params ... < input.txt
This seems to work within emacs too.