1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

find out if a program was running

Discussion in 'C' started by juliaprocess, Jun 24, 2008.

  1. juliaprocess

    juliaprocess New Member

    Joined:
    Aug 16, 2006
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    hello

    I would like to have a function that check if a process is running , something like

    bool isRunning( string progName);

    how do i go about doing it on both linux and windows?
     
  2. asha

    asha New Member

    Joined:
    Nov 9, 2006
    Messages:
    44
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Homemaker
    Location:
    Kolkata
    Home Page:
    What about the ps command in linux?
     

Share This Page