Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: piping email into an external app from rebol

From: greggirwin:mindspring at: 14-Sep-2003 11:42

Hi John, JU> I'm trying to loop around in Rebol, downloading all the mail in a pop-box JU> and piping each one through an existing C executable... JU> Just about figured out the mail bit but I don't have a clue how to pipe the JU> downloaded email into an external program JU> Of course I could have piped the entire output from Rebol into it from the JU> command line but I'm trying handle the loop from within the rebol code so I JU> don't have to exit and have the overhead of reconnecting to the JU> mailserver... It depends on your C program I guess. If you redirect the output in the shell, you can just use PRINT in REBOL and the output will go there. Will that work for you? There were a few messages here recently on piping that should contain some good hints as well. -- Gregg