> Not really, and yet..yes, in a sense.  StartHidden.exe uses the same
> CreateProcess parameters as SqueezeTray uses in it's call to
> Win32::Process::Create, namely the DETACHED_PROCESS flag.  This is
> necessary for this calling chain to succeed:

Thanks again for this hint. Automatic server restart should now work on  
Windows even if SC is run as a service.

> SC->SrvrPowerCtrl->system(StartHidden.exe SCPowerTool.exe --screstart)

As of SC 7.4 you could use the "restartserver" command instead:

Slim::Control::Request::executeRequest(undef, ['restartserver']);

...should restart SC on any platform (afaik).

-- 

Michael
_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to