Philip,

I created this some time ago using hints from discussions in this list, can
it be of any help?

Staffan

------------------------------------------------------------------------------
-- Outtrap class. Creates a RexxQueue object with the output from a shell
-- command.
--
-- Methods:
--         exec  (CLASS)
--         lineout/queue/say
--         push
--         linein
--         pull
--         makeArray
--         queued
--
------------------------------------------------------------------------------
::CLASS Outtrap PUBLIC SUBCLASS RexxQueue

------------------------------------------------------------------------------
::METHOD exec CLASS
------------------------------------------------------------------------------
  use arg command = ""

  queue = self~new(self~create)
  if command <> "" then command '| rxqueue "'queue~get'"'
  return queue

------------------------------------------------------------------------------
::METHOD uninit
------------------------------------------------------------------------------
  self~delete




On Fri, Sep 13, 2013 at 5:50 AM, pr gramly <prgra...@gmail.com> wrote:

> Thank you for the input David & CVBruce.
> that should get me moving again.
>
> Phillip
>
> -----Original Message-----
> From: CVBruce <cvbr...@gmail.com>
> To: prgra...@gmail.com, Open Object Rexx Users
> <oorexx-users@lists.sourceforge.net>
> Subject: Re: [Oorexx-users] passing lines to a unix program
> Date: Thu, 12 Sep 2013 16:55:04 -0700
>
> One way you could do this is to write the data/control statements out to
> a file and then let ndmcli read them from that file
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to