Login  Register

Re: Call a external executable file. What is the best option?

Posted by Schwab,Wilhelm K on Feb 13, 2011; 6:20pm
URL: https://forum.world.st/Call-a-external-executable-file-What-is-the-best-option-tp3303894p3303901.html

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: [hidden email] [[hidden email]] On Behalf Of nullPointer [[hidden email]]
Sent: Sunday, February 13, 2011 1:19 PM
To: [hidden email]
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.