SPONSORS:






User Tag List

Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Mar 2001
    Posts
    161
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I check if a Process is still running

    User liparig_sf (liparig@autodesk.com.nospam) posted:

    Hi,
    In Silk how can I check if a process of an executable is still
    running.

    I want to know when I Exit the program using Silk if the process is
    still there even thought the dialog window of the program is not
    there anymore. I need this because sometimes the program we are
    working seems to close, dialog is not there and Exists() function
    says its not longer there but the Process in Task Manager still
    exists. I want to check that if the process is still there even after
    I quit I can call SYS_KILL() on it.

    Thanks
    Joe



  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check if a Process is still running

    SYS_Kill() is only supported on Unix. If you are testing a Windows app, I have a routine that will check for running process's and kill them. I'll zip it up and send it to you if you like. Just send me your e-mail address.

    tony.morgan@wonderware.com

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  3. #3
    Junior Member
    Join Date
    Mar 2005
    Location
    India
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check if a Process is still running

    I am facing the same problem.
    Tony, can you pls send me the routine you are talking about??
    i.e to kill a windows process that is running.My Mail Address is chaithanya.komala@wipro.com

    Thanks,
    Chaithanya.

  4. #4
    Super Member
    Join Date
    Jul 2003
    Location
    Boulder, CO
    Posts
    1,276
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check if a Process is still running

    I have two utilities that I wrap with sys_execute to accomplish these tasks: pulist.exe and killall.exe. I can email these to anyone who needs them, but Tony's approach may be preferable. Mine will work as all users on NT, 2k, XPP, XPH provided that you ran the exe that you are trying to kill. I have a trick to kill processes that 'aren't yours' as well, if necessary.

    Tony, will you please send me your zipfile at chrmead@austin.rr.com.
    Chris R Mead

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

  5. #5
    Member
    Join Date
    Aug 2004
    Location
    India
    Posts
    95
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check if a Process is still running

    I am also intersted. My email ID is

    vk_00968@yahoo.com.

    Expecting the file.

    Regards,
    Kishore V.

  6. #6
    Senior Member
    Join Date
    Jan 2003
    Location
    Portland, ME USA
    Posts
    603
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check if a Process is still running

    Chris,

    I have been using the killall.exe for some time now, but I would be instrested in the pulist.exe? my email is Randy.Cyr@atxinc.com. And if you send it you will need to zip it up and rename the extenstion to .zz not .zip Our company filters out all email's with .exe and .zip attachments for security reasons. Thanks
    N+ CNA

  7. #7
    Super Member
    Join Date
    Jul 2003
    Location
    Boulder, CO
    Posts
    1,276
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How can I check if a Process is still running

    Randy,

    Here is an official download site for it (which worked on 4/20/05):

    http://www.microsoft.com/windows2000...g/pulist-o.asp

    The download link is in the upper right of the page. Let me know if this one doesn't work for some strange reason and I'll mail you my copy.
    Chris R Mead

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:35 AM.

Copyright BetaSoft Inc.