home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d995 / whatis.lha / WhatIs / c / WBRun.doc < prev   
Text File  |  1994-04-05  |  1KB  |  48 lines

  1.  
  2.     A RunBack style program which use parm.library.  Runs programs
  3.     in  WB  mode  from any CLI.  Programs are fully detached.  The
  4.     program you run must support WB startup.
  5.  
  6.     Usage:
  7.  
  8.         WBRun Prog [args] [STACK size] [PRI pri] [DELAY sec] [SYNC]
  9.  
  10.     if you type:
  11.  
  12.         WBRun ?
  13.  
  14.     you will get this command template
  15.  
  16.         Prog/A,Args/M,STACK/K/N,PRI/K/N,DELAY/K/N,SYNC/S:
  17.  
  18.     that is to say, Prog must be specified, and other args are optionnal.
  19.  
  20.     Stack will overide icon stack if specified, so use with great care.
  21.     Pri is 0 by default.
  22.     Delay  is  in seconds.  WBRun will wait this delay once prog is loaded
  23.     and run, and can be used to prevent disk trashing in script files.
  24.     When you set the SYNC flag, WBRun will wait for program to finish
  25.     before return. This may be usefull in scripts, especialy in ParM.
  26.  
  27.     Example:
  28.  
  29.         ITEM ADPro RUN Assign ADPRO: Work:ADPro ; WBRun SYNC ADPRO:ADPro ; Assign ADPRO:
  30.  
  31.         This will make it possible to run ADPro in WB mode even with
  32.         commands runned in SHELL mode before and after.
  33.         If you didn't understand, this item creates the ADPRO: assign,
  34.         runs ADPro in WB mode, and then cancels the assign.
  35.  
  36.     WBRun is pure and can be made resident.
  37.  
  38. History:
  39.  
  40.     1.0:    1st version for both 1.3 & 2.0+
  41.     2.0:    Special 2.0 version.
  42.     2.1:    Added SYNC option.
  43.  
  44.     Authors: Sylvain Rougier, Pierre Carrette.
  45.  
  46.     Enjoy.
  47.  
  48.