Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tesh: add a fucking \n at the end of file in mkfile command
[simgrid.git] / tools / tesh / tesh.py
index 1e67418..7f3aca4 100755 (executable)
@@ -222,6 +222,7 @@ class Cmd(object):
         if file is None:
             fatal_error("Unable to create file "+filename)
         file.write("\n".join(self.input_pipe))
         if file is None:
             fatal_error("Unable to create file "+filename)
         file.write("\n".join(self.input_pipe))
+        file.write("\n")
         file.close()
 
     def _cmd_cd(self, argline):
         file.close()
 
     def _cmd_cd(self, argline):