projects
/
deliverable
/
lttng-ivc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test_ust_java_agent_vs_tools
[deliverable/lttng-ivc.git]
/
lttng_ivc
/
utils
/
runtime.py
diff --git
a/lttng_ivc/utils/runtime.py
b/lttng_ivc/utils/runtime.py
index b74beee2cad32432a6c87be33063dac2ba4698b6..a409c192314c69fdf581fe2a61d57502f8033de7 100644
(file)
--- a/
lttng_ivc/utils/runtime.py
+++ b/
lttng_ivc/utils/runtime.py
@@
-120,7
+120,7
@@
class Runtime(object):
_logger.debug("Spawned sub pid: {} args: {} stdout: {} stderr{}".format(p.pid, p.args, out_path, err_path))
return tmp_id
_logger.debug("Spawned sub pid: {} args: {} stdout: {} stderr{}".format(p.pid, p.args, out_path, err_path))
return tmp_id
- def run(self, command_line, cwd=None, check_return=True, ld_preload=""):
+ def run(self, command_line, cwd=None, check_return=True, ld_preload=""
, classpath=""
):
"""
Run the command and return a tuple of a (CompletedProcess, stdout_path,
stderr_path). The subprocess is already executed and returned. The
"""
Run the command and return a tuple of a (CompletedProcess, stdout_path,
stderr_path). The subprocess is already executed and returned. The
@@
-131,6
+131,8
@@
class Runtime(object):
if ld_preload:
env['LD_PRELOAD'] = ld_preload
if ld_preload:
env['LD_PRELOAD'] = ld_preload
+ if classpath:
+ env['CLASSPATH'] = classpath
tmp_id = self._run_command_count
tmp_id = self._run_command_count
This page took
0.023712 seconds
and
5
git commands to generate.