By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,918 Members | 2,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,918 IT Pros & Developers. It's quick & easy.

how can get other process pid

P: n/a
hi, I want to get other process pid in my program. the other process
name is known, I want get its pid, how can I do?

for example : in my program I call a process named "mpg321" to play a
mp3 file , now I want to stop it by kill it a STOP signal,to do this, I
must know the pid of mpg321 which is running, how can I get its pid ?

any of you help will be appreciated!

walker

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
walker wrote:
hi, I want to get other process pid in my program. the other process
name is known, I want get its pid, how can I do?

for example : in my program I call a process named "mpg321" to play a
mp3 file , now I want to stop it by kill it a STOP signal,to do this, I
must know the pid of mpg321 which is running, how can I get its pid ?

any of you help will be appreciated!

1) This ain't no steeenking chat room. Post your question. Once.

2) It cannot be done in ISO standard C, the topic of this newsgroup.

3) Please post in a forum specific to your particular platform.

HTH,
--ag
--
Artie Gold -- Austin, Texas
Oh, for the good old days of regular old SPAM.

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.