Closed hovsater closed 1 year ago
I noticed that standard input descriptor is immediately closed when running shards run. This is evident by the following code:
shards run
https://github.com/crystal-lang/shards/blob/85b30b5755b5aad8e5b4bd94cc94610c6a617bea/src/commands/run.cr#L31
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. 🙂
I noticed that standard input descriptor is immediately closed when running
shards run
. This is evident by the following code:https://github.com/crystal-lang/shards/blob/85b30b5755b5aad8e5b4bd94cc94610c6a617bea/src/commands/run.cr#L31
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. 🙂