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

Non-blocking queue for pipe communications #16

Open
github-actions bot opened this issue Feb 12, 2022 · 0 comments
Open

Non-blocking queue for pipe communications #16

github-actions bot opened this issue Feb 12, 2022 · 0 comments
Labels

Comments

@github-actions
Copy link

Non-blocking queue for pipe communications

stdout, stderr = process.communicate() # TODO: Non-blocking queue for pipe communications

            process = subprocess.Popen(['python3', "-c", script],
                                stdout=subprocess.PIPE, 
                                stderr=subprocess.PIPE)
            stdout, stderr = process.communicate() # TODO: Non-blocking queue for pipe communications
            
            if (stdout):
                self.respond(stdout.decode(), "STDOUT")

9131ca6486304a0c00e072170f7b7e3f0b4d54eb

@github-actions github-actions bot added the todo label Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants