On Mon, 19 Jul 2010, Gabriel Cuvillier wrote:
Hello everyone,
I've read several threads about people having problems to launch external processes from Pharo.
The solutions are well known: either by using ProcessWrapper, or by using the plugin OSProcess. But the former is Win32 only, and the latter is supposedly cross platform, but is only included by default on Linux and OS X... On Win32, the plugin must be built by hand with the Squeak VM.
AFAIK the Win32OSProcessPlugin is included with the SqueakVM for windows. The only reason I wrote ProcessWrapper is that OSProcess doesn't support pipes on windows, so you can't use stdin, stdout or stderr.
For the average user, this is a little bit puzzling. Unless things operates in a closed sandbox (no files, no sockets, ...), such basic operation should be included by default and usable in a cross platform way (even if we are living in an image, no?).
For example, here is my use case: I have several command line tools to automate tasks on my machine. I intended to learn Pharo/Smalltalk by building a graphical front-end to these tools (with Morphic) as well as a Web front-end (with Seaside). But the "system()" message is missing :)
Gabriel.
Note: Maybe it is more a SqueakVM issue. If so, I will post my request on that mailing list.
Pharo uses the SqueakVM. Levente
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project