Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Useless use of xargs.
[simgrid.git] / teshsuite / smpi / MBI / simgrid.py
index fb5d27f..2119d40 100644 (file)
@@ -64,7 +64,7 @@ class Tool(mbi.AbstractTool):
             batchinfo=batchinfo)
 
     def teardown(self):
-        subprocess.run("find -type f -a -executable | xargs rm -f", shell=True, check=True) # Remove generated cruft (binary files)
+        subprocess.run("find -type f -a -executable -exec rm -f {} +", shell=True, check=True) # Remove generated cruft (binary files)
         subprocess.run("rm -f smpitmp-* core", shell=True, check=True)
 
     def parse(self, cachefile):