home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: InfoMgt
/
InfoMgt.zip
/
jukemb10.zip
/
jbplay.nrx
< prev
next >
Wrap
Text File
|
1997-05-23
|
462b
|
30 lines
import RXFile
class jbplay extends Thread
rtime = Runtime
pr2 = Process
mt = MainThread
rxLog = RXFile()
toPlay = Rexx
method jbplay(maint = MainThread)
mt = maint
method PlayIt(rSong = Rexx)
toPlay = rSong
method run()
i = int 0
do
rtime = Runtime.getRuntime()
pr2 = rtime.exec(toPlay)
mt.setProcess(pr2)
pr2.waitFor()
catch InterruptedException
catch IOException
catch NullPointerException
end
mt.sendNext()