Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!canopus.hbs.edu!news-in.tiac.net!uunet!in2.uu.net!world!carlg
From: carlg@world.std.com (Carl E Gundel)
Subject: Re: Shell
Message-ID: <DzosMs.Bqp@world.std.com>
Organization: The World, Public Access Internet, Brookline, MA
X-Newsreader: TIN [version 1.2 PL2]
References: <549hk1$e9n@bertrand.ccs.carleton.ca>
Date: Tue, 22 Oct 1996 17:01:39 GMT
Lines: 26

Paul Derbyshire (pderbysh@chat.carleton.ca) wrote:
: In Smalltalk Express is it possible to launch an external executable file
: with appropriate command line? Visual Basic and various C flavors allo
: have this ability. Smalltalk has a class EXEFile but nothing resembling a
: shell method. If the ST library has no shell method is there a Windows API
: for it?

Look in the KernelDLL class (I think) for the winexec call.  This is used 
to run executables, and can even be used to run batch files (by running 
command.com with the /k switch).

Carl



:    .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
: -()  <  circles, and bark is not smooth, nor does lightning travel in a
:    `*'  straight line."     ------------------------------------------------
:         -- B. Mandelbrot   | Paul Derbyshire (PGD) ao950@freenet.carleton.ca
: ______________________ ____|                       pderbysh@chat.carleton.ca
:  A quiet kind of guy  | I'm on the Web at: http://chat.carleton.ca/~pderbysh
-- 
------------------------------------------------------------------
 Carl Gundel  carlg@world.std.com  Shoptalk Systems  508-872-5315
 author of Liberty BASIC, a 1996 PC Magazine Awards Finalist!
 http://world.std.com/~carlg/basic.html
