diff options
| author | Antonin Kral <a.kral@bobek.cz> | 2012-08-29 20:54:51 +0200 |
|---|---|---|
| committer | Antonin Kral <a.kral@bobek.cz> | 2012-08-29 20:54:51 +0200 |
| commit | 83957b73f9177f6e38bd5375bd93ca1f6a47188c (patch) | |
| tree | f20b7d6ac9a9c64ff5bb6b5910a24abbb356b1d5 /buildscripts/cleanbb.py | |
| parent | 5071d203970edd4c995493d810abe20987e76fe9 (diff) | |
Imported Upstream version 2.2.0upstream/2.2.0
Diffstat (limited to 'buildscripts/cleanbb.py')
| -rw-r--r-- | buildscripts/cleanbb.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/buildscripts/cleanbb.py b/buildscripts/cleanbb.py index bfeafd2d8e9..085eee223fb 100644 --- a/buildscripts/cleanbb.py +++ b/buildscripts/cleanbb.py @@ -14,6 +14,16 @@ if os.path.basename(cwd) == 'buildscripts': print( "cwd [" + cwd + "]" ) def shouldKill( c ): + + if "smoke.py" in c: + return False + + if "emr.py" in c: + return False + + if "java" in c: + return False + if c.find( cwd ) >= 0: return True @@ -25,7 +35,10 @@ def shouldKill( c ): def killprocs( signal="" ): killed = 0 - + + if sys.platform == 'win32': + return killed + l = utils.getprocesslist() print( "num procs:" + str( len( l ) ) ) if len(l) == 0: |
