diff --git a/python/lammps.py b/python/lammps.py index c2e9fa983b..6eba1b73c0 100644 --- a/python/lammps.py +++ b/python/lammps.py @@ -640,6 +640,10 @@ class PyLammps(object): with OutputCapture() as capture: self.lmp.command(' '.join(cmd_args)) output = capture.output + + if 'verbose' in kwargs and kwargs['verbose']: + print(output) + lines = output.splitlines() if len(lines) > 1: