Salome HOME
projects
/
tools
/
sat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
be able to prepend an env value from APPLICATION.environ
[tools/sat.git]
/
salomeTools.py
diff --git
a/salomeTools.py
b/salomeTools.py
index 0744fff8bd2cc822830832cc0c4bb50c581f78cd..4b25cfa68fdd9ae902fd8f5ced8d13bc7c2b624b 100755
(executable)
--- a/
salomeTools.py
+++ b/
salomeTools.py
@@
-213,9
+213,13
@@
class Sat(object):
silent = (self.cfg.USER.output_verbose_level == 0)
# create log file
silent = (self.cfg.USER.output_verbose_level == 0)
# create log file
+ micro_command = False
+ if logger_add_link:
+ micro_command = True
logger_command = src.logger.Logger(self.cfg,
silent_sysstd=silent,
logger_command = src.logger.Logger(self.cfg,
silent_sysstd=silent,
- all_in_terminal=self.options.all_in_terminal)
+ all_in_terminal=self.options.all_in_terminal,
+ micro_command=micro_command)
# Check that the path given by the logs_paths_in_file option
# is a file path that can be written
# Check that the path given by the logs_paths_in_file option
# is a file path that can be written
@@
-288,7
+292,7
@@
class Sat(object):
logger_command.end_write(
{"launchedCommand" : launchedCommand})
logger_command.end_write(
{"launchedCommand" : launchedCommand})
- if res
is None
:
+ if res
!= 0
:
res = 1
# If the logs_paths_in_file was called, write the result
# and log files in the given file path
res = 1
# If the logs_paths_in_file was called, write the result
# and log files in the given file path