Rank: Member
Groups: Approved
Joined: 4/10/2020(UTC) Posts: 22
Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
Hi all, i have a question : how to find a process is running? for eg. : abc.exe. i need to detect if the abc.exe is running and then do something
|
|
|
|
Rank: Advanced Member
Groups: Translators, Moderators, Approved Joined: 4/6/2020(UTC) Posts: 79 Thanks: 1 times Was thanked: 21 time(s) in 21 post(s)
|
clr.System.Diagnostics.Process.GetProcessesByName('abc').Length The number of processes named abc (abc.exe etc.).
|
1 user thanked liuxilu for this useful post.
|
|
|
Rank: Member
Groups: Approved
Joined: 4/10/2020(UTC) Posts: 22
Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: liuxilu# clr.System.Diagnostics.Process.GetProcessesByName('abc').Length The number of processes named abc (abc.exe etc.). a big thank 4 u! classmate Liuļ¼
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close