Correct parameter naming for PTY.spawn (#678)
authorLeonardo Mosquera <ldmosquera@gmail.com>
Mon, 13 Feb 2023 23:19:47 +0000 (20:19 -0300)
committerGitHub <noreply@github.com>
Mon, 13 Feb 2023 23:19:47 +0000 (20:19 -0300)
commit1d5c31719aedb0425d590de6ca0900cf2b09c9c7
treee0f6aaae49d558c14bb219a21806b9872a573cc0
parentcdc5f905a2f245171b9f53fb76f4ba947389fc6b
Correct parameter naming for PTY.spawn (#678)

Per the docs, first parameter for the block is STDOUT + STDERR, 2nd one is STDIN:
https://ruby-doc.org/3.1.3/exts/pty/PTY.html#method-c-spawn

As it is now, the method looks like it's reading from STDIN, though in
fact it's reading from an incorrectly named parameter for STDOUT.
image/auto_build.rb