Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: send errors to stderr#205

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
iffse wants to merge1 commit intoFrameworkComputer:main
base:main
Choose a base branch
Loading
fromiffse:stderr

Conversation

@iffse
Copy link

Context.

framework_tool uses bothstdout andstderr. But the former one is being overused, having most of the error messages which should be sent tostderr.

This PR only changed print statements which should go tostderr.

@JohnAZoidberg
Copy link
Member

In general this is not a bad idea. But I wonder how you noticed it.
The commands don't really return machine readable output. We're you trying to separate stdout and stdin on purpose?

@iffse
Copy link
Author

But I wonder how you noticed it.

Fairly noticeable when using along other tools.

The commands don't really return machine readable output. We're you trying to separate stdout and stdin on purpose?

You might be referring tostdout andstderr. They should be separated as convention. For example, if you want to save the device information you can just redirect thestdout output to a file, while keeping the errors in the console. Sending what gone wrong to the file while only printing there was an error in the console doesn't make much sense.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@iffse@JohnAZoidberg

[8]ページ先頭

©2009-2025 Movatter.jp