[luau] UNIX Shell Question: Capturing stdout & showing too

Ray Strode halfline at hawaii.rr.com
Mon Aug 5 22:38:00 PDT 2002


> but i want to eat the cake too, so how can i modify 'foo > log.txt' to also
> write out to command line screen?
For a not so great alternative to Rick's better solution, you can do:

foo > log.txt &
tail -f log.txt &
fg foo

--Ray




More information about the LUAU mailing list