AminetAminet
Search:
84479 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/System.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Start a command :) but with some options
Author:Stefan Le Breton (stlb at 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 :)
Date:1995-12-18
Download:http://aminet.net/util/cli/System.lha - View contents
Readme:http://aminet.net/util/cli/System.readme
Downloads:609

-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.


Contents of util/cli/System.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 2196    4016  54.7% -lh5- 7a7a Dec 16  1995 system/System
[generic]                 1075    2041  52.7% -lh5- d092 Dec 16  1995 system/System.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3271    6057  54.0%            Dec 18  1995

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>