Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Win32::Service Module is not able start a service in windows

by Anonymous Monk
on Feb 11, 2013 at 13:08 UTC ( #1018132=note: print w/ replies, xml ) Need Help??


in reply to Win32::Service Module is not able start a service in windows

Is your code authorized to do so?


Comment on Re: Win32::Service Module is not able start a service in windows
Re^2: Win32::Service Module is not able start a service in windows
by bmallik (Initiate) on Feb 11, 2013 at 13:31 UTC
    Well actually thats where I am confused. I could able to fetch the status by Win32::Service::GetStatus(); But not able to start it by using GetStart() API.

      Can you start the service with net start?


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        no ..may be ...My code is not starting the service from admin level ...which might causing the issue. So,I need the help - how to run the "net start " command with admin previllage from my perl programme.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-12-21 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (107 votes), past polls