Squeak equivalent of system()?
Kevin Fisher
kgf at golden.net
Fri Sep 8 14:31:42 UTC 2000
Ah, that's exactly what I'm looking for. Thanks for the pointer!
>
> Yes - you can use the Squeak FFI (Foreign Function interface).
> http://minnow.cc.gatech.edu/squeak/1414
>
> Depending on your host OS you should have a look at the
> following class categories:
>
> FFI-Examples-MacOS
> FFI-Examples-Win32
> FFI-Examples-X11
>
> For instance if you want to start a Win32 program from within
> Squeak evaluate:
>
> Win32Shell new shellOpen: 'regedit.exe'
>
> Or try one of these:
>
> Win32Shell new shellExplore: 'C:\'
>
> Win32Shell new shellFind: 'c:\'
>
> Bye
> Torsten
>
>
> -----Original Message-----
> From: Kevin Fisher [mailto:kgf at golden.net]
> Sent: Freitag, 8. September 2000 15:31
> To: squeak at cs.uiuc.edu
> Subject: Squeak equivalent of system()?
>
>
> Hi all:
>
> Is there a way to make system()-like calls in Squeak? Specifically, can
> you launch external programs from within Squeak?
>
More information about the Squeak-dev
mailing list
|