lib/textbringer/commands/misc.rb in textbringer-1.0.3 vs lib/textbringer/commands/misc.rb in textbringer-1.0.4
- old
+ new
@@ -274,10 +274,10 @@
buffer.read_only = false
buffer.clear
Window.redisplay
signals = [:INT, :TERM, :KILL]
begin
- opts = /mswin32|mingw32/ =~ RUBY_PLATFORM ? {} : {pgroup: true}
+ opts = /mswin|mingw/ =~ RUBY_PLATFORM ? {} : {pgroup: true}
if CONFIG[:shell_file_name]
cmd = [CONFIG[:shell_file_name], CONFIG[:shell_command_switch], cmd]
end
Open3.popen3(*cmd, opts) do |input, output, error, wait_thread|
input.close