Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb0ae46
)
#17978 [CEA] SALOME windows minor corrections : fix for 2 of 5 issue.
author
rnv
<rnv@opencascade.com>
Mon, 18 Nov 2019 17:22:38 +0000
(20:22 +0300)
committer
rnv
<rnv@opencascade.com>
Mon, 18 Nov 2019 17:22:38 +0000
(20:22 +0300)
bin/salome_utils.py
patch
|
blob
|
history
diff --git
a/bin/salome_utils.py
b/bin/salome_utils.py
index 80c2adac9fe700dd0ac54f11f299f4892cf62daf..911f35f90ab6c3906903258dfd37c3cec266f927 100644
(file)
--- a/
bin/salome_utils.py
+++ b/
bin/salome_utils.py
@@
-567,7
+567,7
@@
def getOmniNamesPid(port):
cmd = 'WMIC PROCESS get Caption,Commandline,Processid /VALUE'
proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
# Get stdout
- allProc = proc.communicate()[0]
+ allProc = proc.communicate()[0]
.decode()
# find Pid of omniNames
pid = re.findall(r'Caption=.*omniNames.*\n?CommandLine=.*omniNames.*\D%s\D.*\n?ProcessId=(\d*)'%(port),allProc)[0]
else: