in reply to Re^4: Turn a perl script into a Win32 Service
in thread Turn a perl script into a Win32 Service

ikegami,
Maybe you'll have better luck using wperl.exe instead of perl.exe.

Interesting thought. I wonder where you came up with it?

This application currently doesn't write to STDOUT, STDERR, or read input from STDIN. It does write information to a SQLite database as well as launch external GUI applications (Firefox via WWW::Selenium as well as interface Outlook via Win32::API. It runs fine from the command line but not as a service (no work is performed). I am happy to give wperl.exe a try later but I am not sure why it would work where perl.exe fails.

Are you thinking that it is specifically my application and not just any perl script that won't work using SrvAny with 5.10 on Vista?

Cheers - L~R

  • Comment on Re^5: Turn a perl script into a Win32 Service

Replies are listed 'Best First'.
Re^6: Turn a perl script into a Win32 Service
by ikegami (Patriarch) on Oct 14, 2008 at 17:42 UTC
    It's simpler than that. I am thinking that Perl might attempt to access the console even if it doesn't end being used.
      ikegami,
      It is worth a shot. Watch this space for updates in the next few days.

      Cheers - L~R