in reply to Want to Start / Stop windows service through executing Perl Script
This is another of those things that using the system utilities is just so much simpler:
system q[ net start "service name" ]; system q[ net stop "service name" ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Want to Start / Stop windows service through executing Perl Script
by meet_arc (Initiate) on Jun 01, 2009 at 11:45 UTC | |
by BrowserUk (Patriarch) on Jun 01, 2009 at 13:43 UTC | |
by marto (Cardinal) on Jun 01, 2009 at 11:55 UTC |