Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Using Lisp to Call another program in linux?

Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail
From: Erik Naggum <e...@naggum.no>
Newsgroups: comp.lang.lisp
Subject: Re: Using Lisp to Call another program in linux?
Date: 11 Nov 2002 01:42:18 +0000
Organization: Naggum Software, Oslo, Norway
Lines: 25
Message-ID: <3245967738275338@naggum.no>
References: <376b0355.0211071729.3278c1da@posting.google.com> <87r8dvutaj.fsf@lackawana.kippona.com> <8gsmya4251.fsf@galapagos.cse.psu.edu> <3245884607279821@naggum.no> <8gpttd4xc8.fsf@galapagos.cse.psu.edu> <3245942864137679@naggum.no> <8gsmy83oek.fsf@galapagos.cse.psu.edu>
NNTP-Posting-Host: einn.ifi.uio.no
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: maud.ifi.uio.no 1036978938 3173 129.240.65.201 (11 Nov 2002 01:42:18 GMT)
X-Complaints-To: abuse@ifi.uio.no
NNTP-Posting-Date: 11 Nov 2002 01:42:18 GMT
Mail-Copies-To: never
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

* Scott Schwartz
| Great!  So what's the portable way to do what the original poster asked for?

  It seems that you have some problems realizing that the request /cannot/
  be portable to begin with.

  If you think POSIX is portable, then only POSIX-validated systems count.
  This is like saying Windows is portable because only Windows platforms
  count.

| I suggested (POSIX::system "some program") as the obvious solution,

  To a Common Lisp programmer, two colons means "this is wrong".

| but one that would require the lisp community to recognise that there is
| a standard, portable, API, that's almost always available, certainly
| available if you're running on any form of unix or windows.

  But Common Lisp does not thusly limit itself.

-- 
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.