From: nobu@... Date: 2017-10-24T05:19:21+00:00 Subject: [ruby-core:83534] [Ruby trunk Feature#14043] Introduce Process.last_status as an alias for $? Issue #14043 has been updated by nobu (Nobuyoshi Nakada). I'd prefer something that executes a command and returns `Process::Status`, than separate methods. ---------------------------------------- Feature #14043: Introduce Process.last_status as an alias for $? https://bugs.ruby-lang.org/issues/14043#change-67562 * Author: mrkn (Kenta Murata) * Status: Open * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: 2.5 ---------------------------------------- I found that we don't have any methods for an alias to `$?`, like `MatchData.last_match` for `$~`. I propose to introduce `Process.last_status` method for that purpose. -- https://bugs.ruby-lang.org/ Unsubscribe: