Red Squirrel
No Lifer
I'm trying to setup a script to run a UT3 server in the background, but no matter what I try, it keeps outputting all the crap to screen instead of to the file I specify. I had it working at one point and it just stopped working. This is the script:
I also tried all of these combinations:
No matter what I try, I get crap outputting to the screen that executed the command. I want ALL output to go to the file no matter what.
The actual command is longer, but it probably does not matter, but just in case it does, it's this:
Any way to force the output to a file?
Code:
{
./command
} > server.log 2>&1
I also tried all of these combinations:
Code:
./command > server.log 2>&1
Code:
./command &> server.log
Code:
{
./command
} &> server.log
No matter what I try, I get crap outputting to the screen that executed the command. I want ALL output to go to the file no matter what.
The actual command is longer, but it probably does not matter, but just in case it does, it's this:
Code:
./ut3 Server VCTF-Necropolis?Game=UTGameContent.UTVehicleCTFGame_Content?GameMode=2?Numplay=4?MaxPlayers=64?NumPublicConnections=24?NumPrivateConnections=2?MinNetPlayers=1?bIsDedicated=true?bUsesStats=true?ForceRespawn=0?bShouldAdvertise=false?PureServer=1?bIsLanMatch=false?bAllowJoinInProgress=true?AdminName=********?AdminPassword=******** -Login=********-Password=******** -Log=myserver.log -multihome=96.45.178.186 -unattended
Any way to force the output to a file?