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

Broken Pipe Error when Buffer is Full #6

Open
jakhax opened this issue Dec 19, 2019 · 0 comments
Open

Broken Pipe Error when Buffer is Full #6

jakhax opened this issue Dec 19, 2019 · 0 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@jakhax
Copy link
Owner

jakhax commented Dec 19, 2019

Steps to reproduce

	opt := &spawn.Opt{
		Timeout:2000,
		MaxBufferSize:150,
	};
	var stdin io.Reader
	stdout,stderr,errX :=  spawn.Spwan(opt,"python3",[]string{"-c",`while True:print("111111111111")`},stdin)

Error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
BrokenPipeError: [Errno 32] Broken pipe
  • Am not sure if this only happens on certain environments(mine is ubuntu 18.04) will investigate this later.
@jakhax jakhax added bug Something isn't working question Further information is requested labels Dec 19, 2019
@jakhax jakhax self-assigned this Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant