]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/Test/TestImportImage_1.py
Salome HOME
bos #26609 Patching tests (Windows)
[modules/shaper.git] / src / ExchangePlugin / Test / TestImportImage_1.py
index 1c529e1963b575278c5d64d7b8a00703904e369d..1fcc4645bb4166a763985e8f373bcf8222615097 100755 (executable)
@@ -99,6 +99,7 @@ assert(abs(dz-0) <= tol)
 
 # Close SALOME GUI
 import salome_utils
-import subprocess
+import killSalomeWithPort
+
 port = salome_utils.getPortNumber()
-proc = subprocess.Popen(["killSalomeWithPort.py", "{}".format(port)])
+killSalomeWithPort.killMyPort(port)