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

Error() does not return message #5

Open
liujin1993 opened this issue Dec 11, 2018 · 2 comments
Open

Error() does not return message #5

liujin1993 opened this issue Dec 11, 2018 · 2 comments

Comments

@liujin1993
Copy link

image
image

a.sh is not exits, but process.Error() only return [127] and a blank line. I hope that it returns “no such file”

@liujin1993
Copy link
Author

It should be "return fmt.Errorf("[%v] %s\n", p.ExitStatus, errlines[:s])" in Error()
not "return fmt.Errorf("[%v] %s\n", p.ExitStatus, errlines[s])"

@progrium
Copy link
Owner

progrium commented Dec 12, 2018 via email

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

2 participants