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
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
> 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