hennesse has asked for the wisdom of the Perl Monks concerning the following question:
When creating a new service, I want to "allow service to interact with the desktop".
The documentations says:
Win32::Daemon.pm shows:service_type An integer representing the type of the service; defaults to SERVI +CE_WIN32_OWN_PROCESS.
And the example shows:SERVICE_WIN32_OWN_PROCESS SERVICE_WIN32_SHARE_PROCESS SERVICE_KERNEL_DRIVER SERVICE_FILE_SYSTEM_DRIVER SERVICE_INTERACTIVE_PROCESS
Win32::Daemon::CreateService( \%Hash ) %Hash = ( machine => '', name => 'Brewery', display => 'The Electronic Brewery', path => $ServicePath, user => '', pwd => '', description => 'The Electronic Brewery', parameters => $ServiceParams );
I tried adding a key service_type => various integers
but all my guesses have failed.
Anyone got the "straight dope"?
Thanks - Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::Daemon - interactive
by BrowserUk (Patriarch) on Oct 21, 2011 at 00:50 UTC | |
|
Re: Win32::Daemon - interactive
by Anonymous Monk on Oct 21, 2011 at 00:44 UTC | |
|
Re: Win32::Daemon - interactive
by hennesse (Beadle) on Oct 21, 2011 at 01:30 UTC |