From 7a9539042fad33774c3fa9a8c9ccaed6f3b706a2 Mon Sep 17 00:00:00 2001 From: RX14 Date: Tue, 18 Sep 2018 16:59:47 +0100 Subject: [PATCH] Improve Process.exec docs --- src/process.cr | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/process.cr b/src/process.cr index 87b1219faf1e..e232ece02dce 100644 --- a/src/process.cr +++ b/src/process.cr @@ -186,12 +186,7 @@ class Process end end - # Replaces the current process with a new one. - # - # The possible values for *input*, *output* and *error* are: - # * `false`: no `IO` (`/dev/null`) - # * `true`: inherit from parent - # * `IO`: use the given `IO` + # Replaces the current process with a new one. This function never returns. def self.exec(command : String, args = nil, env : Env = nil, clear_env : Bool = false, shell : Bool = false, input : ExecStdio = Redirect::Inherit, output : ExecStdio = Redirect::Inherit, error : ExecStdio = Redirect::Inherit, chdir : String? = nil) command, args = prepare_args(command, args, shell)