Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   finding process by process arguments (http://forums.winamp.com/showthread.php?t=267399)

ajay662 8th March 2007 19:46

finding process by process arguments
 
Is there a way to use "process arguments" info to uniquely find a process. My requirement is to find a java process which is running my application. If I use
Processes::FindProcess "java"

I will find all java processes, not just mine.

kichik 9th March 2007 12:08

You can use the following for every PID you find.

http://www.winterdom.com/dev/ptk/cmdline.html

You could also use WMI, which is not available on earlier versions of Windows, to get the information for all of the processes without finding the PID first.

http://windowsxp.mvps.org/listproc.htm


All times are GMT. The time now is 04:17.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.