Skip to content

Commit

Permalink
Move parentheses in System.cmd() docs (#8046)
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-ad-riley authored and josevalim committed Aug 4, 2018
1 parent ece4048 commit 557b779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/elixir/lib/system.ex
Original file line number Diff line number Diff line change
Expand Up @@ -564,10 +564,10 @@ defmodule System do
iex> System.cmd("echo", ["hello"])
{"hello\n", 0}
iex> System.cmd("echo", ["hello"]), env: [{"MIX_ENV", "test"}]
iex> System.cmd("echo", ["hello"], env: [{"MIX_ENV", "test"}])
{"hello\n", 0}
iex> System.cmd("echo", ["hello"]), into: IO.stream(:stdio, :line)
iex> System.cmd("echo", ["hello"], into: IO.stream(:stdio, :line))
hello
{%IO.Stream{}, 0}
Expand Down

0 comments on commit 557b779

Please sign in to comment.