I\'m working with a command line utility that requires passing the name of a file to write output to, e.g.
foo -o output.txt
The only thing
You could use the magic of UNIX and create a named pipe :)
Create the pipe
$ mknod -p mypipe
Start the process that reads from the pipe
$ second-process < mypipe
Start the process, that writes into the pipe
$ foo -o mypipe