home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / texed133.zip / run.cmd < prev    next >
OS/2 REXX Batch file  |  1996-01-06  |  565b  |  18 lines

  1. /***********************************************************\
  2. * run.cmd - run program and signal completion on rexx queue *
  3. *           Should be in your path                          *
  4. *                                                           *
  5. *           This file can not be used as a TeXEdit macro    *
  6. \***********************************************************/
  7.  
  8. Main:
  9.    parse arg queue commands
  10.  
  11.    if (queue \= '') & (commands \= '') then do
  12.       commands
  13.       retval = rc
  14.       call RXQueue 'Set', queue
  15.       push rc
  16.    end
  17. return
  18.