Re: [Pharo-dev] execute external command?
2014-01-25 Torsten Bergmann <astares@gmx.de>
For Windows have a look at OsWindows from config browser. There is a class Winprocess and the documentation on the Project page on Sthub includes many examples. You can execute blocking and non-blocking.
Bye T. -- Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.
Johan Brichau <johan@inceptive.be> schrieb:
Hi list,
In another thread, Sven pointed me to the environment variables access from within Pharo3 (using Smalltalk os environment). This already eliminates one use case we have for OSProcess, but I fail to find a replacement for the other one: invoking external commands.
So, my question: is OSProcess the only way to perform an external command from within Pharo3 ?
thanks for the info Johan
there is native boost nbCall: http://forum.world.st/NB-crash-boom-td4669980.html
Nicolai Hess wrote
Winprocess ... http://forum.world.st/NB-crash-boom-td4669980.html
Ha ha, don't mind the thread subject, Igor fixed it in 3.0. I use Winprocess if I need the output of the command and NB otherwise. I also fixed OSProcess - the latest version works in Windows (but I think you still can't get the outputk we should see if Elliot's is more thorough)... I should write all this up... ----- Cheers, Sean -- View this message in context: http://forum.world.st/execute-external-command-tp4739247p4739259.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (3)
-
Nicolai Hess -
Sean P. DeNigris -
Torsten Bergmann