Skip to content

Commit

Permalink
Improve Process.exec docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RX14 committed Oct 13, 2018
1 parent 3726d6a commit 7a95390
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/process.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7a95390

Please sign in to comment.