]> SALOME platform Git repositories - tools/yacsgen.git/commitdiff
Salome HOME
CCAR: replace executable by an intermediate shell
authorcaremoli <caremoli>
Mon, 7 Mar 2011 09:06:50 +0000 (09:06 +0000)
committercaremoli <caremoli>
Mon, 7 Mar 2011 09:06:50 +0000 (09:06 +0000)
Examples/fort2/components.py
Examples/fort2/prog1.sh [new file with mode: 0755]
Examples/fort2/prog2.sh [new file with mode: 0755]

index ae24e072d7b3ec03a7ab9ef58c301727669aba17..616220df6bbd79c7eb3b6afd56fedc60ea73781a 100644 (file)
@@ -29,13 +29,13 @@ c1=F77Component("fcode1", services=[Service("serv1",inport=[("a","double"),("b",
                          outport=[("c","double")],
                          outstream=[("PARAM","CALCIUM_double","I")],), ],
                kind="exe",
-               exe_path=os.path.join(cwd,"prog1"),
+               exe_path=os.path.join(cwd,"prog1.sh"),
                )
 c2=F77Component("fcode2", services=[Service("serv1",inport=[("a","double"),("b","double")],
                          outport=[("c","double")],
                          instream=[("PARAM","CALCIUM_double","I")],), ],
                kind="exe",
-               exe_path=os.path.join(cwd,"prog2"),
+               exe_path=os.path.join(cwd,"prog2.sh"),
                )
 
 g=Generator(Module("fcompos",components=[c1,c2],prefix="./install"),context)
diff --git a/Examples/fort2/prog1.sh b/Examples/fort2/prog1.sh
new file mode 100755 (executable)
index 0000000..3d1a3b2
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+/local/cchris/Salome/YACSGEN/V6/YACSGEN/Examples/fort2/prog1
+
+echo "End of shell"
+
diff --git a/Examples/fort2/prog2.sh b/Examples/fort2/prog2.sh
new file mode 100755 (executable)
index 0000000..0369f89
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+/local/cchris/Salome/YACSGEN/V6/YACSGEN/Examples/fort2/prog2
+
+echo "End of shell"
+
+