diff --git a/src/process/status.cr b/src/process/status.cr index bb77ce2ef640..46d1ed342ee8 100644 --- a/src/process/status.cr +++ b/src/process/status.cr @@ -97,6 +97,7 @@ end class Process::Status # Platform-specific exit status code, which usually contains either the exit code or a termination signal. # The other `Process::Status` methods extract the values from `exit_status`. + @[Deprecated("Use `Process::Status#exit_code`")] def exit_status : Int32 @exit_status.to_i32! end @@ -205,13 +206,6 @@ class Process::Status {% end %} end - # Platform-specific exit status code, which usually contains either the exit code or a termination signal. - # The other `Process::Status` methods extract the values from `exit_status`. - @[Deprecated("Use `Process::Status#exit_code`")] - def exit_status - @exit_status - end - # If `normal_exit?` is `true`, returns the exit code of the process. def exit_code : Int32 {% if flag?(:unix) %}