mherger;407227 Wrote: 
> > 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
Since there is now going to be a 7.3.3 release, will this feature be
backported (if that's the word) into 7.3.3?  If so, I'll change my
SrvrPowerCtrl code.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=61432

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to