Invoking Windows .exe or .cmd

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

Invoking Windows .exe or .cmd

Postby John Clapperton » Tue Sep 15, 2009 11:17 am

How do I invoke a Windows .exe or .cmd file from within VA Smalltalk?

tia
John
John Clapperton
[|]
 
Posts: 18
Joined: Wed Oct 03, 2007 6:21 am

Re: Invoking Windows .exe or .cmd

Postby nmongeau » Tue Sep 15, 2009 12:23 pm

Use AbtProgramStarter, or if you need more control it's the CreateProcess API, implemented in

OSCall>>createProcess: lpApplicationName
lpszCommandLine: lpCommandLine
lpsaProcess: lpProcessAttributes
lpsaThread: lpThreadAttributes
fInheritHandles: bInheritHandles
fdwCreate: dwCreationFlags
lpvEnvironment: lpEnvironment
lpszCurDir: lpCurrentDirectory
lpsiStartInfo: lpStartupInfo
lppiProcInfo: lpProcessInformation

Normand
nmongeau
[|]
 
Posts: 29
Joined: Fri Jan 12, 2007 9:37 am


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest