home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 10
/
aminetcdnumber101996.iso
/
Aminet
/
util
/
cli
/
System.readme
< prev
next >
Wrap
Text File
|
1996-01-05
|
2KB
|
80 lines
Short: Start a command :) but with some options
Author: Stefan Le Breton (stlb@cs.TU-Berlin.de)
Uploader: Stefan Le Breton (stlb@cs.TU-Berlin.de)
Version: 1.7
Type: util/cli
Copyright: ©1995 Stefan Le Breton
Distribution: free
Restrictions: no military or life critical use, complete archive, no commercial use without authors permission
Requires: OS 2.0+
Archive: System.lha
Date: 16.12.95
Downloader: probably YOU :)
-8<-
System provides full access to System()
I assume you are familiar with ReadArgs() parsing
Arguments:
IN=FROM/K : input file/stream if missing, stdin is used.
OUT=TO/K : output file/stream if missing stdout is used.
ASYNC/S : command is started asynchron, if IN or OUT is missing,
NIL: is used, otherwise System() would close your stdio...
this might lead to a crash.
USERSHELL/S : use the usershell, not BootShell.
CUSTOMSHELL/K : use another shell.
STACK/K/N : stacksize for command.
PRI/K/N : priority.
NOCOPYVARS/S : don't copy local vars.
CD : current directory for command.
PROGDIR : PROGDIR: for command.
NOREQ : prevents that requesters pop up on execution of command.
Though this maybe the case for system itself.
COMMAND/F : the actual command and it's arguments.
If command is missing, System just does nothing
System is pure, if you want to make it resident, you must use
resident "system"
because resident has SYSTEM/S in it's template :)
Probably you have to set the pure flag first:
protect system +p
Have fun
StElb
If you want to send me money, creditcard numbers, hardware, chocolate and the like :)
Stefan Le Breton
Wesendorfer Str. 8
13439 Berlin
GERMANY
PLEASE make an obvious notice for me, that you send it for "System"... else I might return
the letter unopened to, because I have some trouble with other sort of things :/ I don't want
to pay postage for a trillion answer letters for a joke.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
4016 2196 45.3% 16-Dec-95 20:14:04 +System
2041 1075 47.3% 16-Dec-95 19:53:08 +System.readme
-------- ------- ----- --------- --------
6057 3271 45.9% 18-Dec-95 21:44:16 2 files