Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Win32 - Dependant services

by Smaug (Pilgrim)
on Oct 22, 2004 at 06:50 UTC ( [id://401403]=note: print w/replies, xml ) Need Help??


in reply to Re: Win32 - Dependant services
in thread Win32 - Dependant services

Hi
Thanks for your suggestion. However as I said earlier, this service has dependants. If you do as you have suggested above, (but add the /Y switch to answer yes to stopping dependant services) it will stop, but then how would you know what to start again?
Thanks very much to everybody though for your help. We've decided to use the code I posted earlier, and look into using the API as suggested.
Cheers.

Replies are listed 'Best First'.
Re^3: Win32 - Dependant services
by BrowserUk (Patriarch) on Oct 22, 2004 at 07:05 UTC

    At least in theory, net start mysql /Y should be able to use the same dependancy logic to re-start those dependant services.

    It certainly used to be able to so under OS/2 when I was developing device drivers. Setting up the dependancy chain for complex drivers, like high level multi-media drivers was a pain, but once set it worked very well.

    I have had little or nothing to do with this under Win32, and don't have any such set of dependant services on this machine to experiment with, so I apologise if the idea was a bum steer.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://401403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-04-18 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found