node.upload knows how to optionnally create executable files
[nepi.git] / nepi / resources / linux / application.py
index 447b5ad..4b60f46 100644 (file)
@@ -469,7 +469,7 @@ class LinuxApplication(ResourceManager):
             self.info("Uploading code")
 
             dst = os.path.join(self.app_home, "code")
-            self.node.upload(code, dst, overwrite = False, text = True)
+            self.node.upload(code, dst, overwrite = False, text = True, executable = True)
 
     def upload_stdin(self, stdin = None):
         if not stdin: