Project

General

Profile

ActionsLike0

Bug #14239

closed

warn open("|...")

Added by akr (Akira Tanaka) over 7 years ago. Updated about 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:84460]

Description

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("|...").
(and remove this process invoking feature in long term)


Related issues 1 (0 open1 closed)

Related to Ruby - Feature #14245: Add File.read etc.ClosedActions
#6

Updated by shugo (Shugo Maeda) over 7 years ago

#8

Updated by nobu (Nobuyoshi Nakada) about 7 years ago

  • Status changed from Open to Closed
  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: DONTNEED
ActionsLike0

Also available in: Atom PDF