Skip to content

Standard input file descriptor immediately closed when running a program using shards run #550

@hovsater

Description

@hovsater

I noticed that standard input descriptor is immediately closed when running shards run. This is evident by the following code:

status = Process.run(File.join(Shards.bin_path, target.name), args: run_options, output: Process::Redirect::Inherit, error: Process::Redirect::Inherit)

Only standard output and standard error are inherited from the parent process.

Is this a mistake or by design? I'd be happy to address the problem in case it's the former. 🙂

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions