Home » Archimedes archive » Acorn User » AU 1995-04.adf » !Internet_StarterPak » !SLIPdial/Resources/UK/Help/task

!SLIPdial/Resources/UK/Help/task

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1995-04.adf » !Internet_StarterPak
Filename: !SLIPdial/Resources/UK/Help/task
Read OK:
File size: 035A bytes
Load address: 0000
Exec address: 0000
File contents
task [/name=<name>] [/exit=<command>] [/wait] <filespec>
 starts the specified task. Example:
 task <TCPIP$Dir>.!Run
 /name  specifies a name to be associated with the command (by which it may
 be killed, for example).
 /exit  specifies a command to be executed when the task terminates.
 /wait  forces the script to wait for the started task to finish. Otherwise,
  script execution continues as soon as the task starts (the "/exit" command,
  if any, being added to the event queue when the task finishes).
 It is possible to combine the "/wait" and "/exit" qualifiers, but also
 pointless!

task /kill[=<taskname>]
 task /kill by itself kills the last task to be started by the "task" command.
 task /kill <taskname> kills a task by name (name as known by the task
  manager). Only tasks known to SLIPdial (started by the "task" command) can
  be killed.
00000000  74 61 73 6b 20 5b 2f 6e  61 6d 65 3d 3c 6e 61 6d  |task [/name=<nam|
00000010  65 3e 5d 20 5b 2f 65 78  69 74 3d 3c 63 6f 6d 6d  |e>] [/exit=<comm|
00000020  61 6e 64 3e 5d 20 5b 2f  77 61 69 74 5d 20 3c 66  |and>] [/wait] <f|
00000030  69 6c 65 73 70 65 63 3e  0a 20 73 74 61 72 74 73  |ilespec>. starts|
00000040  20 74 68 65 20 73 70 65  63 69 66 69 65 64 20 74  | the specified t|
00000050  61 73 6b 2e 20 45 78 61  6d 70 6c 65 3a 0a 20 74  |ask. Example:. t|
00000060  61 73 6b 20 3c 54 43 50  49 50 24 44 69 72 3e 2e  |ask <TCPIP$Dir>.|
00000070  21 52 75 6e 0a 20 2f 6e  61 6d 65 20 20 73 70 65  |!Run. /name  spe|
00000080  63 69 66 69 65 73 20 61  20 6e 61 6d 65 20 74 6f  |cifies a name to|
00000090  20 62 65 20 61 73 73 6f  63 69 61 74 65 64 20 77  | be associated w|
000000a0  69 74 68 20 74 68 65 20  63 6f 6d 6d 61 6e 64 20  |ith the command |
000000b0  28 62 79 20 77 68 69 63  68 20 69 74 20 6d 61 79  |(by which it may|
000000c0  0a 20 62 65 20 6b 69 6c  6c 65 64 2c 20 66 6f 72  |. be killed, for|
000000d0  20 65 78 61 6d 70 6c 65  29 2e 0a 20 2f 65 78 69  | example).. /exi|
000000e0  74 20 20 73 70 65 63 69  66 69 65 73 20 61 20 63  |t  specifies a c|
000000f0  6f 6d 6d 61 6e 64 20 74  6f 20 62 65 20 65 78 65  |ommand to be exe|
00000100  63 75 74 65 64 20 77 68  65 6e 20 74 68 65 20 74  |cuted when the t|
00000110  61 73 6b 20 74 65 72 6d  69 6e 61 74 65 73 2e 0a  |ask terminates..|
00000120  20 2f 77 61 69 74 20 20  66 6f 72 63 65 73 20 74  | /wait  forces t|
00000130  68 65 20 73 63 72 69 70  74 20 74 6f 20 77 61 69  |he script to wai|
00000140  74 20 66 6f 72 20 74 68  65 20 73 74 61 72 74 65  |t for the starte|
00000150  64 20 74 61 73 6b 20 74  6f 20 66 69 6e 69 73 68  |d task to finish|
00000160  2e 20 4f 74 68 65 72 77  69 73 65 2c 0a 20 20 73  |. Otherwise,.  s|
00000170  63 72 69 70 74 20 65 78  65 63 75 74 69 6f 6e 20  |cript execution |
00000180  63 6f 6e 74 69 6e 75 65  73 20 61 73 20 73 6f 6f  |continues as soo|
00000190  6e 20 61 73 20 74 68 65  20 74 61 73 6b 20 73 74  |n as the task st|
000001a0  61 72 74 73 20 28 74 68  65 20 22 2f 65 78 69 74  |arts (the "/exit|
000001b0  22 20 63 6f 6d 6d 61 6e  64 2c 0a 20 20 69 66 20  |" command,.  if |
000001c0  61 6e 79 2c 20 62 65 69  6e 67 20 61 64 64 65 64  |any, being added|
000001d0  20 74 6f 20 74 68 65 20  65 76 65 6e 74 20 71 75  | to the event qu|
000001e0  65 75 65 20 77 68 65 6e  20 74 68 65 20 74 61 73  |eue when the tas|
000001f0  6b 20 66 69 6e 69 73 68  65 73 29 2e 0a 20 49 74  |k finishes).. It|
00000200  20 69 73 20 70 6f 73 73  69 62 6c 65 20 74 6f 20  | is possible to |
00000210  63 6f 6d 62 69 6e 65 20  74 68 65 20 22 2f 77 61  |combine the "/wa|
00000220  69 74 22 20 61 6e 64 20  22 2f 65 78 69 74 22 20  |it" and "/exit" |
00000230  71 75 61 6c 69 66 69 65  72 73 2c 20 62 75 74 20  |qualifiers, but |
00000240  61 6c 73 6f 0a 20 70 6f  69 6e 74 6c 65 73 73 21  |also. pointless!|
00000250  0a 0a 74 61 73 6b 20 2f  6b 69 6c 6c 5b 3d 3c 74  |..task /kill[=<t|
00000260  61 73 6b 6e 61 6d 65 3e  5d 0a 20 74 61 73 6b 20  |askname>]. task |
00000270  2f 6b 69 6c 6c 20 62 79  20 69 74 73 65 6c 66 20  |/kill by itself |
00000280  6b 69 6c 6c 73 20 74 68  65 20 6c 61 73 74 20 74  |kills the last t|
00000290  61 73 6b 20 74 6f 20 62  65 20 73 74 61 72 74 65  |ask to be starte|
000002a0  64 20 62 79 20 74 68 65  20 22 74 61 73 6b 22 20  |d by the "task" |
000002b0  63 6f 6d 6d 61 6e 64 2e  0a 20 74 61 73 6b 20 2f  |command.. task /|
000002c0  6b 69 6c 6c 20 3c 74 61  73 6b 6e 61 6d 65 3e 20  |kill <taskname> |
000002d0  6b 69 6c 6c 73 20 61 20  74 61 73 6b 20 62 79 20  |kills a task by |
000002e0  6e 61 6d 65 20 28 6e 61  6d 65 20 61 73 20 6b 6e  |name (name as kn|
000002f0  6f 77 6e 20 62 79 20 74  68 65 20 74 61 73 6b 0a  |own by the task.|
00000300  20 20 6d 61 6e 61 67 65  72 29 2e 20 4f 6e 6c 79  |  manager). Only|
00000310  20 74 61 73 6b 73 20 6b  6e 6f 77 6e 20 74 6f 20  | tasks known to |
00000320  53 4c 49 50 64 69 61 6c  20 28 73 74 61 72 74 65  |SLIPdial (starte|
00000330  64 20 62 79 20 74 68 65  20 22 74 61 73 6b 22 20  |d by the "task" |
00000340  63 6f 6d 6d 61 6e 64 29  20 63 61 6e 0a 20 20 62  |command) can.  b|
00000350  65 20 6b 69 6c 6c 65 64  2e 0a                    |e killed..|
0000035a