Bash - Program is writing directly to terminal
        Posted  
        
            by 
                Salis
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Salis
        
        
        
        Published on 2012-11-12T20:26:27Z
        Indexed on 
            2012/11/13
            11:06 UTC
        
        
        Read the original article
        Hit count: 455
        
Valve's dedicated server for the Source Engine (srcds_run) on Linux writes directly to the terminal, not stdout. I want to run it as an /etc/init.d daemon on Debian 6, and I'd like to redirect/capture the output to a file. How can I do that? And better yet, why would they output directly to the terminal, is there any benefit in doing that?
I suppose I could start another bash instance just for srcds_run, but that seems like a dirty solution, and I still don't know how to redirect the output.
© Server Fault or respective owner