Skip to content

Commit 557b779

Browse files
scott-ad-rileyjosevalim
authored andcommitted
Move parentheses in System.cmd() docs (#8046)
1 parent ece4048 commit 557b779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/system.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,10 @@ defmodule System do
564564
iex> System.cmd("echo", ["hello"])
565565
{"hello\n", 0}
566566
567-
iex> System.cmd("echo", ["hello"]), env: [{"MIX_ENV", "test"}]
567+
iex> System.cmd("echo", ["hello"], env: [{"MIX_ENV", "test"}])
568568
{"hello\n", 0}
569569
570-
iex> System.cmd("echo", ["hello"]), into: IO.stream(:stdio, :line)
570+
iex> System.cmd("echo", ["hello"], into: IO.stream(:stdio, :line))
571571
hello
572572
{%IO.Stream{}, 0}
573573

0 commit comments

Comments
 (0)