與在命令行上使用文件名進行輸入和 output 的程序交互的最佳方式是什么? [英]What is the best way to interface with a a program that uses filenames on the command line for input and output?