| View previous topic :: View next topic |
| Author |
Message |
MoeRadio.ru
Joined: 28 Jan 2007 Posts: 12 Location: Moscow, Russia
|
Posted: Thu Dec 17, 2009 9:42 am Post subject: taskkill /IM icecastService.exe does not work in Windows |
|
|
Hi,
I'm trying to make Icecast running under Windows Server 2008 R2 to re-read icecast.xml config file.
Under Linux I used kill -HUP `cat /var/run/icecast.pid` for that
Under Windows I am trying to do taskkill /IM icecastService.exe, which should send SIGHUP to icecastService.exe, but this doesn't work.
I'm getting an error:
ERROR: The process "icecastService.exe" with PID 2668 could not be terminated.
Reason: This process can only be terminated forcefully (with /F option).
If I use /F it is of course terminated (it sends SIGKILL), but this is not what I want. I want just to re-read the configuration file without termination.
Is there a way to do it under Windows? Does Windows executable of Icecast understand signals at all? |
|
| Back to top |
|
 |
MoeRadio.ru
Joined: 28 Jan 2007 Posts: 12 Location: Moscow, Russia
|
Posted: Thu Dec 17, 2009 10:24 am Post subject: |
|
|
Found that if I use Icecast2win.exe instead of icecastService.exe (i.e. running it as usual program, not as a service), then taskkill /IM works... to an extent. It terminates the program.
But this is something already. Now need to find a Windows utility to send SIGHUP signal... |
|
| Back to top |
|
 |
|