Path: utzoo!utgpu!water!watmath!clyde!rutgers!sdcsvax!ucbvax!GARGOYLE.UCHICAGO.EDU!goer%sophist From: goer%sophist@GARGOYLE.UCHICAGO.EDU (Richard Goerwitz) Newsgroups: comp.lang.icon Subject: shell script vs. icon pipes Message-ID: <8801062247.AA21168@sophist.uchicago.edu> Date: 6 Jan 88 22:47:46 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The ARPA Internet Lines: 12 In response to a posting (which I have - unfortunately - rm'ed), try: procedure main() local output, com com := "echo \'this is a message\' | (sleep 15; cat)" output := open(com,"rp") | stop("Try again :-)") write(!output) end This also works fine. You could, of course, do com := arg[1] || "| (sleep 15; cat)".