DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
logging the terminal output to a file
stdbuf -o 0 myprogram [myarguments...] 2>&1 | tee outfile #stdbuf prevents buffering
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#logging
#terminal
#output
#file
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit