gtrattner has asked for the wisdom of the Perl Monks concerning the following question:
When running as a service the $status variable comes up empty, but in an interactive session it has the info I need. Any suggestions on how to get this information back? Also the service is running as a user with the permissions needed to execute the command. Thanks.$status=`rcmd \\\\$servers[$i] tlist $pid | findstr Working`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting Results back from System Call
by halley (Prior) on Aug 08, 2003 at 19:01 UTC | |
by gtrattner (Initiate) on Aug 08, 2003 at 19:38 UTC | |
by BrowserUk (Patriarch) on Aug 09, 2003 at 12:38 UTC | |
|
Re: Getting Results back from System Call
by BrowserUk (Patriarch) on Aug 08, 2003 at 19:04 UTC | |
|
Re: Getting Results back from System Call
by traveler (Parson) on Aug 08, 2003 at 20:00 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |