Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd09d9
)
salome exits with return code
author
Gilles DAVID
<gilles-g.david@edf.fr>
Wed, 4 Oct 2017 13:25:12 +0000
(15:25 +0200)
committer
Gilles DAVID
<gilles-g.david@edf.fr>
Wed, 4 Oct 2017 13:25:12 +0000
(15:25 +0200)
bin/appliskel/salome
patch
|
blob
|
history
diff --git
a/bin/appliskel/salome
b/bin/appliskel/salome
index a57c5d701419c32a089d681a60ef3e45f24c59cf..3bd95d620358848b8f3421dd74db4fe8e579cb42 100755
(executable)
--- a/
bin/appliskel/salome
+++ b/
bin/appliskel/salome
@@
-23,7
+23,7
@@
def main(args):
appliPath = os.path.realpath(os.path.dirname(os.path.abspath(__file__)))
proc = subprocess.Popen([os.path.join(appliPath, '.salome_run')] + args, close_fds=True)
out, err = proc.communicate()
- return out, err, proc.returncode
+ sys.exit(proc.returncode)
if __name__ == "__main__":
main(sys.argv[1:])