I have a command line program that is expecting to be passed a configuration file e.g.
sphinx --config /some/config_file
I'm calling this command from inside a Ruby program where I'm currently dynamically generating the config file before writing it to disk. This seems like a waste as the file is only used once and deleted right after.
Is there a way to avoid writing the file to disk by just passing in something that the program will think is a file but really hasn't been written to disk?