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) Type: util/cli Version: 1.7 Requires: OS 2.0+ Architecture: m68k-amigaos Distribution: free Copyright: ©1995 Stefan Le Breton Restrictions: no military or life critical use, complete archive, no commercial use without authors permission 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.