Page 1 of 1

bzadmin command ; and quit

Posted: Wed Mar 21, 2018 1:41 pm
by mathiaz
Hi,

I would like to pass regulary a bzdamin command in a bash script.

bzadmin -ui stdout spy:passwd@bzserver.xy /listPlayer

It almost work , i have the player list, but it doesn t logout.
Is there a mean to pass a cmd and just logout?
Without make a dirty kill -9 pid_of_bzadmin?

thnks

Re: bzadmin command ; and quit

Posted: Wed Mar 21, 2018 2:13 pm
by blast
I think you can pass multiple pieces of text to send. So try "/listPlayer" "/quit"