Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!usenet.eel.ufl.edu!news.mathworks.com!fu-berlin.de!cs.tu-berlin.de!unlisys!sunny!lnews
From: rs%astbe@.unlisys.net (Reinhold Schneider)
Subject: Re: Two Problems:
Message-ID: <PA6DCCBH@astbe.uucp>
Sender: lnews@astbe.uucp (LocalNetnewsAdmin(mo))
Organization: AEG Softwaretechnik GmbH
X-Newsreader: Forte Free Agent v0.55
References: (none) <3210F276.5A46@fzi.de>
Date: Wed, 14 Aug 1996 15:24:45 GMT
Lines: 32

Christian Popp <popp@fzi.de> wrote:

>Hello,

>Ive got two questions on Visual Smalltalk Enterprice (Win NT)

>1. How can I execute Windows executables ( .exe) within
>   the smalltalk environment. 
>   I need something like a system call in C or Tk/Tcl's "exec"
>   command.


[Stuff deleted ]

Christian,

You should use the method KernelDLL>> winExec: cmdShow: 

For example
	KernelLibrary winExec: aPathname asParameter cmdShow: SwShownormal

The first parameter holds the pathname where your .exe can be found,
the second is a OperatingSystemConstant that controls how this program
will be open (hidden, shown, inconized,...)

Hope this helps,

Reinhold
Reinhold Schneider   rs%astbe@unlisys.net
AST Berlin           reins@berlin.snafu.de
Germany

