1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Allow dtrace without pty, i.e., with miniruby

This commit is contained in:
Nobuyoshi Nakada 2019-06-30 21:15:56 +09:00
parent b89f6ac843
commit 62e66b8e18
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -30,7 +30,6 @@ if ok
begin
require 'pty'
rescue LoadError
ok = false
end
end
end
@ -78,7 +77,7 @@ module DTrace
Process.wait(pid)
end
lines
end
end if defined?(PTY)
end
# only handles simple cases, use a Hash for d_program