Have you tried using screen? That's what I use. You simply: # screen # ./hlds_run ... # ctrl-D (detach screen)
Then when you want to access it again you have to use screen -r <quote who="Olivier Dony"> > Hello everybody, > > I have a little problem with the CS linux server. I installed the latest > HalfLife and CS linux servers, and everything is working perfectly when I > launch the game from a shell, eg. like : > $ ./hlds_run -game cstrike +maxplayers 16 +map cs_assault > > The server launches normally, gets the WON Auth etc, and I can play on it > fine. But everytime I try to launch it without a tty, or to detach it > afterwards, it immediately start to take more than 90% of the CPU time, > and is > not working anymore - at least I can't connect on it anymore. > > I have tried to : > - ^Z / bg it after launch > - launch it in background with & (it stops until I fg it!) > - launch it with the output redirected to a file (it doesnt even start > fully) > - launch it in a subshell as in (cd hlds_l; ./hlds_run -game cstrike...) > - launch it from a crontab > - etc.. > > There must be a way to make it work without a tty ;-) > > Thanks in advance for your help! > > Olivier > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list