[Pharo-project] Call a external executable file. What is the best option?

Schwab,Wilhelm K bschwab at anest.ufl.edu
Sun Feb 13 19:20:59 CET 2011


I think you will find that OS Process work on mac an Linux and NOT on Windows, but ProcessWrapper does work there.  A test on the OS should let you interchange them well enough to get by.

Bill


________________________________________
From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] On Behalf Of nullPointer [epicfan at gmail.com]
Sent: Sunday, February 13, 2011 1:19 PM
To: pharo-project at lists.gforge.inria.fr
Subject: [Pharo-project] Call a external executable file. What is the best      option?

I need call executable files of OS. I see various options, but I´m not sure.
I believe don´t understand correctly.

I need:

     -Call executable files from system.
     -Call associated programs of links, for example, I could pass
'http://google.com'. The result must be open the default browser of user
with that link.
     -Call commands or .BATs files from OS.
     -I need use that on any OS, must be cross-platform, is very important.

If that is not implemented on Pharo, is possible create a .exe file with
another language, where I call functions of OS, and invoke from Smalltalk
that exe?

Regards.



--
View this message in context: http://forum.world.st/Call-a-external-executable-file-What-is-the-best-option-tp3303894p3303894.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.





More information about the Pharo-project mailing list