summaryrefslogtreecommitdiff
path: root/ext/pty/script.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pty/script.rb')
-rw-r--r--ext/pty/script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/script.rb b/ext/pty/script.rb
index 6c4027e6b3..6aaafec061 100644
--- a/ext/pty/script.rb
+++ b/ext/pty/script.rb
@@ -11,7 +11,7 @@ logfile = File.open(ofile,"a")
system "stty -echo raw lnext ^_"
PTY.spawn("/bin/csh") do
- |r_pty,w_pty|
+ |r_pty,w_pty,pid|
Thread.new do
while true