[Ironruby-core] Chiron on linux

Jimmy Schementi Jimmy.Schementi at microsoft.com
Wed Mar 31 03:19:21 EDT 2010

FYI, Chiron's switches can either be prefixed by a "/" or a "-" ... so you can use a dash if that feels more natural:

mono Chiron.exe -b

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Monday, March 08, 2010 11:27 PM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] Chiron on linux


the chiron /b command works on mac and windows but AFAIK it doesn't on linux based systems.

On debian and ubuntu systems often there is a package xdg-open installed which provides the same functionality as start on windows and open on mac.
So if you check for the existence of xdg-open the experience on linux can be similar to the one on the other OS'es.

Ruby code:
system "xdg-open #{chiron_url}" if `which xdg-open`.chomp != ""

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100331/53aaf229/attachment.html>

More information about the Ironruby-core mailing list