in reply to Re^2: Executing command line script in Eclipse or as Win32::Daemon does not work
in thread Executing command line script in Eclipse or as Win32::Daemon does not work

Rather than running sscep.exe, have you tried running a shell command like dir to prove you have a shell available in debugger or service? or tried running something like "perl -e" print 'hello world'" in debugger or service to prove you can run exes at all?

Your app, sscep.exe, might be multithreaded, and has a watchdog thread on it console writing thread, if you run it in a debugger, and sscep notices console writes are taking too long (because perl isn't collecting the lines since its frozen in a debugger), sscep can abort with random errors. When running as a service, as BrowserUK said, permissions. I'm not sure what happens if a service tries to draw a GUI from its service/local system account. Also stop using double quotes for your paths in Perl. You run the risk (how much I'm not sure) of creating control characters with those escapes, which can lead to your error 53 bad path.
  • Comment on Re^3: Executing command line script in Eclipse or as Win32::Daemon does not work