Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File closed prematurely #5

Open
mschatten opened this issue Mar 30, 2021 · 0 comments
Open

File closed prematurely #5

mschatten opened this issue Mar 30, 2021 · 0 comments

Comments

@mschatten
Copy link
Member

APi/baseagent.py

Lines 1426 to 1431 in 3b23905

self.ncfile_thread = Thread( target=asyncio.run, args=( self.input_ncfile_run( self.cmd, self.output_file_path ), ) )
#self.ncfile_thread.start()
# TODO: find out why only the first output is processed, i.e.
# ncat writes to the file and closes it seemingly after each
# input making it possible for read_file() to read it and end
# prematurely. See if this can be avoided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant