Skip to content

Commit

Permalink
fix bug related to headless shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypinkard committed Sep 7, 2023
1 parent 8ba4daf commit 43ccdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycromanager/headless.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def start_headless(
if debug:
print('Headless mode started')
def logger():
while True:
while process in _JAVA_HEADLESS_SUBPROCESSES:
print(process.stdout.readline().decode('utf-8'))
threading.Thread(target=logger).start()

Expand Down

0 comments on commit 43ccdfe

Please sign in to comment.