shards
shards copied to clipboard
Standard input file descriptor immediately closed when running a program using `shards run`
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. 🙂