Path: utzoo!attcan!uunet!cs.utexas.edu!usc!ucsd!ucbvax!van-bc! From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga Subject: Re: Arexx 'waitforport' Message-ID: <1659@lpami.wimsey.bc.ca> Date: 29 May 90 12:41:15 GMT Lines: 26 Return-Path: To: van-bc!rnews In <30304@cup.portal.com>, Robert_No-doubt_Gregory@cup.portal.com writes: >Perhaps someone else has encountered this problem and can tell me what is >wrong: I try to execute the following arexx program: > rx "address command 'waitforport sh'" > >The result I get is: +++ Command returned 327680 >I expected the waitforport command to wait for 10 seconds and then terminate >(since there is no port named sh). Waitforport is a command that comes with >Arexx but I have never gotten it to work right within a rexx program. >It seems to work ok if i just enter 'waitforport sh' from a CLI (actually >Wshell). I have encountered several rexx programs that use 'waitforport' >but have never been able to use them because of this problem. Any ideas or >suggestions are apprecited. Hmm... works fine for me. Just tried it exactly like you did, and it waited 10 seconds and exited with a return code of 0. -larry -- The raytracer of justice recurses slowly, but it renders exceedingly fine. +-----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 -or- 76703.4322@compuserve.com | +-----------------------------------------------------------------------+