On 3/14/07, sur max <sur.max / gmail.com> wrote:
> though the system command is working both ways
>
> as
>
> system('date')
>

Which is not what I'm looking for.

>
> On 3/14/07, Kent Sibilev <ksruby / gmail.com > wrote:
> > Does anyone know how to explain this:
> >
> > $ irb
> > >> exec 'date'
> > Wed Mar 14 01:38:11 EDT 2007
> > $ irb
> > >> Thread.new {}
> > => #<Thread:0x3546e8 dead>
> > >> exec 'date'
> > Errno::EOPNOTSUPP: Operation not supported - date
> >         from (irb):2:in `exec'
> >         from (irb):2
> >         from :0
> > >>
> >
> > I couldn't reproduce it on Linux though.
> >
> > --
> > Kent
> > ---
> > http://www.datanoise.com
> >
> >
>
>
>
> --
> sur
> "is a String object" is a String object
> http://expressica.com


-- 
Kent
---
http://www.datanoise.com