Skip to content

Conversation

linouxis9
Copy link
Contributor

OsOther cannot be used for file descriptors representing a file or a directory.

if file_type == types::Filetype::RegularFile || file_type == types::Filetype::Directory {

As such, an OsFile should instead directly be used.

Before this PR, and since #1561, it was not possible to replace stdin/stdout/stderr with an user-provided File.

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.

1 participant