On Mon, 03.09.07 12:47, Alex Malinovich (demonbane at the-love-shack.net) wrote: > > And if you want to kill PA cleanly, just connect to the CLI port and > > issue an "exit" command. Apparently you are loading the CLI protocol > > anyway, so this is quite easy. > > I have been trying to figure out a way to do this cleanly from the > command line (specifically from within a batch file) with no luck. > Windows doesn't come with netcat by default, and while there is a netcat > implementation for Windows I don't want to automate this in a way that > requires any additional software if possible. And as far as I can tell, > there is now way to tell telnet in Windows to connect to a host and > automatically execute a command. > > If anyone has any ideas on how to accomplish this in an automated manner > from within a Windows shell please let me know. There's always "pactl exit". Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4