TIP: Click on subject to list as thread! ANSI
echo: amiga
to: All
from: Joacim Melin
date: 2018-01-08 20:03:30
subject: Arexx noob needs help

Hi All,

I'm trying to create a ARexx script that ever X number of minutes will
execute a shell script.  I'm a total noob to ARexx programming but here are
my efforts so far: 

* testscript för loop */
do forever
if ~show('L','rexxsupport.library') then
call addlib('rexxsupport.library',0,-30)
'execute s:hej.scr >Env:minoutput'
call delay(250)
end

s:hej.scr contains one line: 

echo HELLO!

Now, I get no output from s:hej.scr. I tried to add
GetEnv("minoutput") to the ARexx script but that doesn't work. 
Also, I can't kill the ARexx script once it's running, either by pressing
ctrl-c or trying to close the shell window. 

Can anyone explain what I'm doing wrong here? 

Thanks,

Joacim


--- NiKom v2.3.1
* Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:201/120.0)
SEEN-BY: 154/10 201/0 120 121 420 203/0 124 221/0 1 229/426 230/0 240/5832
SEEN-BY: 261/38 266/404 280/464 5003 5006 292/624 854 310/31 320/219 423/120
SEEN-BY: 633/0 267 280 281 412 640/384 712/620 848 770/1 2320/100 3634/24
@PATH: 201/120 0 203/0 280/464 712/848 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.