VirtualBox

Changeset 92890 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 14, 2021 8:53:32 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148845
Message:

ValKit/testdriver/base.py: Made processExists just call utils.processExists as it should work better now for posix platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/base.py

    r86513 r92890  
    265265    Returns True if it positively exists, False otherwise.
    266266    """
    267     if sys.platform == 'win32':
    268         fRc = winbase.processExists(uPid);
    269     else:
    270         try:
    271             os.kill(uPid, 0);
    272             fRc = True;
    273         except:
    274             reporter.logXcpt('uPid=%s' % (uPid,));
    275             fRc = False;
    276     return fRc;
     267    return utils.processExists(uPid);
    277268
    278269def processCheckPidAndName(uPid, sName):
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette