From: "Jonas Roberto de Goes Filho (sysdebug)" Date: 2007-09-12T04:52:31+09:00 Subject: Re: Run UNIX command Pieter Jongsma wrote: > Hi, > > I'm looking for a way to execute an UNIX command from a ruby program. > For instance, when the user selected a .tar.gz file, using the untar > command to decompress it. > How can I do that? > > Thanks in advance! > pieter. > Use ``. An example: irb(main):042:0> `date` => "Ter Set 11 16:50:30 BRT 2007\n" Regards, -- Jonas Roberto de Goes Filho (sysdebug) http://goes.eti.br