akr / fsij.org wrote:
> Recently we found open("|...") is tend to be misused.
> 
> Many people uses this method without concerning that it can run a process.
> 
> I think it should be deprecated.
> 
> So, I propose that ruby warns open("|...").

Agreed.  I assume this includes IO.read/binread/readlines/...?

> (and remove this process invoking feature in long term)

I don't know about removal (maybe Ruby 3.x).  I prefer
we be very conservative when removing (mis)features.

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>