Skip to content

Commit 63a66fc

Browse files
committed
Detect mingw32 windows installs as windows platform
1 parent 5acf230 commit 63a66fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/closure/popen.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Closure
44
# grandchild process, and returns the pid of the external process.
55
module Popen
66

7-
WINDOWS = RUBY_PLATFORM.match(/mswin32/)
7+
WINDOWS = RUBY_PLATFORM.match(/(win|w)32$/)
88
if WINDOWS
99
require 'rubygems'
1010
require 'win32/open3'

0 commit comments

Comments
 (0)