ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-admin
perl-win32-admin
Process information
by Darin Cruickshanks other posts by this author
Apr 28 2008 1:47AM messages near this date
view in the new Beta List Site
RE: Enumerating Universal Group members | Re: Process information
Hi,

 

I'm trying to find out what a particular process's start path is -
'c:\myprocess.exe' for example.  I tried using Win32::Process::Info,
which works fine unless you are trying to find out the process
information of a process that is running in a different user context.

For example - 

I run my Perl script as administrator on a PC, someone then logs on as a
different user and runs MSWORD.  My program would not be able to return
the start path for MSWORD (c:\program files\msoffice......), but
strangely most of the other info that Win32::Process::Info returns will
be available.  Does anyone know why this is or know of any other module
to get at the process start path?

 

Thanks,

 

Darin
--------------------------------------------
Darin Cruickshanks
Lab Support Manager, Computing Service
University of Essex
01206 873585 

 
Thread:
Darin Cruickshanks
Bill Luebkert
Darin Cruickshanks

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved