I have a process running and I would like to know what it prints to stdout and stderr. On linux I would do
tail -f /proc/<pid>/fd/1
How do I do this on macOS?
I have a process running and I would like to know what it prints to stdout and stderr. On linux I would do
tail -f /proc/<pid>/fd/1
How do I do this on macOS?
tail -f <the file>
. – Philip Couling Dec 22 '22 at 16:16screen
to run the process andscreen -x
to also connect to the screen or just reconnect to it normally. – James Risner Dec 24 '22 at 14:30