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

Make redirecting to /dev/stderr work on Windows #225

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Conversation

benhoyt
Copy link
Owner

@benhoyt benhoyt commented Mar 25, 2024

Fake it till Windows makes it. This enables the common pattern for printing messages to standard error:

print "An error!" >"/dev/stderr"

To work cross-platform on Windows as well as Unix-based OSs.

Fixes #195

benhoyt added 2 commits March 25, 2024 21:02
Fake it till Windows makes it. This enables the common pattern for
printing messages to standard error:

    print "An error!" >"/dev/stderr"

To work cross-platform on Windows as well as Unix-based OSs.

Fixes #195
@benhoyt benhoyt merged commit 5e9dbb4 into master Apr 12, 2024
10 checks passed
@benhoyt benhoyt deleted the dev-stderr-windows branch April 12, 2024 23:20
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

Successfully merging this pull request may close these issues.

Allow outputting to /dev/stderr on Windows
1 participant