Is there a magic file name that gives the following effect?
$ mkfifo /tmp/fifo1 && cat /tmp/fifo1 &
$ foo --log-file /tmp/fifo
# now I can see the log as the program runs
I want something like
$ foo --log-file /proc/to_stdout
You're looking for /dev/stdout or /dev/stderr as appropriate.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago