From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Mon, 12 Nov 2007 08:59:35 -0800 Subject: [sup-talk] patch: execute shell command In-Reply-To: <1194881637-sup-5906@tomsk> References: <1194536747-sup-4081@timmy> <1194840554-sup-9310@south> <1194843828-sup-7014@timmy> <1194881637-sup-5906@tomsk> Message-ID: <1194886486-sup-6107@south> Excerpts from Marcus Williams's message of Mon Nov 12 07:35:34 -0800 2007: > Shouldnt this be possible with open3? The only problem is that open3 > is unix only (in std ruby). I think there is a win32 open3 gem though. It looks like Session doesn't work on windows, anyways: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/173910 So how's this for a plan: 1. First version just uses open3. 2. When windows people complain, add code to detect the platform and load in win32-open3 accordingly. -- William