Re: [fpc-pascal] Re: how to catch fpopen() output

2008-07-23 Thread ik
You should use pipes rather then fpSystem for that. Ido On Wed, Jul 23, 2008 at 3:44 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Sorry, I meant catching fpSystem() output... > > > > On Wed, Jul 23, 2008 at 2:40 PM, Graeme Geldenhuys > <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have a functi

[fpc-pascal] Re: how to catch fpopen() output

2008-07-23 Thread Graeme Geldenhuys
Sorry, I meant catching fpSystem() output... On Wed, Jul 23, 2008 at 2:40 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Hi, > > I have a function called fpgOpenURL(...) which contains the following > >if fpsystem('which xdg-open') = 0 then > Helper := 'xdg-open' >else if f