Win32::Daemon and backticks

2001-04-06 Thread PaulGould
All, As part of a service I'm developing, I need to run an external command and capture both its STDOUT and STDERR. The line: my $rot = `path\\to\\command`; saves the command's STDOUT into $rot as expected. However, when I change this to: my $rot = `path\\to\\command 2>&1`; nothing gets saved

RE: Win32::Daemon and backticks

2001-04-20 Thread PaulGould
Dave, > Do you get the same problem when you specify a full path in the open() > function? > Okay, how about if you configure the service to run under a user account (as > opposed to localsystem)? I was using the full path in the open() function already, and running the service under a user acco

RE: exporting constants

2002-06-14 Thread PaulGould
> From: [EMAIL PROTECTED] > > Thanks $Bill, > > but that's not what I'd like to have. If I use the fully qualified > name (mymodule::SSTAT_ERROR), then I don't have to > export the constants at all. > But with exporting my intention was to have the convenience > of not needing to use fully quali