home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp
- Path: sparky!uunet!stanford.edu!Csli!gandalf
- From: gandalf@Csli.Stanford.EDU (Juergen Wagner)
- Subject: Re: run-program in kcl
- Message-ID: <1992Aug17.075945.28178@Csli.Stanford.EDU>
- Keywords: run-program, common lisp, kcl, load.
- Organization: Stanford University CSLI
- References: <1992Aug13.194657.6098@cs.albany.edu> <16fpq4INN848@early-bird.think.com>
- Date: Mon, 17 Aug 1992 07:59:45 GMT
- Lines: 32
-
- I haven't checked this in vanilla KCL but at least AKCL 1.609 supports the
- following functions (one runs a process simply for its side-effect, the other
- gets you a pipe, i.e., an i/o stream):
-
- >(describe 'system) (describe 'run-process)
-
- SYSTEM - external symbol in LISP package
- -----------------------------------------------------------------------------
- SYSTEM [Function]
- SYSTEM
- Function in LISP package:
- Args: (string)
- KCL specific: Executes a Shell command as if STRING is an input to the Shell.
- Not all versions of KCL support this function.
-
- -----------------------------------------------------------------------------
-
- RUN-PROCESS - internal symbol in USER package RUN-PROCESS
- Function in the SI package:
- Args: (string)
-
- Execute the command STRING in a subshell and return a two way stream
- associated to this. Use si::fp-output-stream to get an associated
- output stream or si::fp-input-stream.
- Bugs: It does not properly deallocate everything,
- so that it will fail if you call it too many times.
-
- -----------------------------------------------------------------------------
-
- --Juergen Wagner
- J_Wagner@iao.fhg.de
- gandalf@csli.stanford.edu
-