lib/lino/executors/open4.rb in lino-3.2.0.pre.10 vs lib/lino/executors/open4.rb in lino-4.0.0.pre.2
- old
+ new
@@ -30,10 +30,10 @@
private
def with_defaults(opts)
{
- stdin: opts[:stdin] || '',
+ stdin: opts[:stdin] ? opts[:stdin].read : '',
stdout: opts[:stdout] || $stdout,
stderr: opts[:stderr] || $stderr
}
end
end