Skip to content

Commit

Permalink
EBR-51: fixed first time restarting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianValentinCiu authored and adrianciu committed Nov 15, 2024
1 parent 493328c commit d2f74eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _restart_services(self, should_reset):
proc_params = [python_path, '-m', 'tvb_bin.app', 'start', TvbProfile.CURRENT_PROFILE_NAME]
if should_reset:
proc_params.append('-reset')
subprocess.Popen(proc_params, shell=False)
subprocess.Popen(proc_params, shell=False).communicate()
except ImportError:
proc_params = [python_path, '-m', 'tvb.interfaces.web.run', TvbProfile.CURRENT_PROFILE_NAME, "tvb.config"]
if should_reset:
Expand Down

0 comments on commit d2f74eb

Please sign in to comment.