From: caremoli Date: Mon, 7 Mar 2011 09:06:50 +0000 (+0000) Subject: CCAR: replace executable by an intermediate shell X-Git-Tag: V6_3_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=46fa64457ed90590037ef7d0f84d3cb8bc8299ff;p=tools%2Fyacsgen.git CCAR: replace executable by an intermediate shell --- diff --git a/Examples/fort2/components.py b/Examples/fort2/components.py index ae24e07..616220d 100644 --- a/Examples/fort2/components.py +++ b/Examples/fort2/components.py @@ -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 index 0000000..3d1a3b2 --- /dev/null +++ b/Examples/fort2/prog1.sh @@ -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 index 0000000..0369f89 --- /dev/null +++ b/Examples/fort2/prog2.sh @@ -0,0 +1,6 @@ +#!/bin/bash +/local/cchris/Salome/YACSGEN/V6/YACSGEN/Examples/fort2/prog2 + +echo "End of shell" + +