View Single Post
  #11  
Old 02-18-2014, 03:48 PM
Pfeil Pfeil is offline
Approved Member
 
Join Date: Jan 2012
Posts: 126
Default

Quote:
strace -eopen wineconsole --backend=curses /home/david/Servers/il2-4.12/drive_d/il2server/il2server.exe > logfile.txt
Unless there's another method you're looking for, ">" will redirect output from stdout(which is normally printed to the console) to a file. You can also use ">>" to append a file.

This is true for BASH, can't guarantee it to work with other shells. Note that this means you won't see the output in your console.


EDIT: Or, what The_WOZ said.
Reply With Quote