Changeset 92887 in vbox for trunk/src/VBox/ValidationKit/common/utils.py
- Timestamp:
- Dec 13, 2021 3:43:29 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r92882 r92887 969 969 Returns True if it positively exists, False otherwise. 970 970 """ 971 if sys.platform == 'win32': 971 sHostOs = getHostOs(); 972 if sHostOs == 'win': 972 973 fRc = False; 973 974 # We try open the process for waiting since this is generally only forbidden in a very few cases. … … 983 984 hProcess.Close(); 984 985 fRc = True; 986 elif sHostOs == 'linux': 987 fRc = os.path.exists('/proc/%s' % (uPid,); 985 988 else: 986 989 try:
Note:
See TracChangeset
for help on using the changeset viewer.