[Pharo-project] OSProcess in Pharo (on Windows)
Forgive me if this question has already been answered, but I can't seem to find it... Is OSProcess running in Pharo, and what is the magic incantation to call an external program, batch file, etc... in Windows? I seem to recall something like: OSProcess thisOSProcess command: 'dosomething.exe' But that doesn't seem to currently be working for me... Thank you, Rob
Hi, I don't know if there were some evolution on OSProcess but sometime ago i had problem using it under Windows too. Basically under Windows some primitives used during the initialization fails. The result is that OSProcess cannot comunicate with the actual OS. So no magic incantation available as far as i know. Cheers, Fabrizio 2010/7/5 Rob Rothwell <r.j.rothwell@gmail.com>
Forgive me if this question has already been answered, but I can't seem to find it...
Is OSProcess running in Pharo, and what is the magic incantation to call an external program, batch file, etc... in Windows?
I seem to recall something like:
OSProcess thisOSProcess command: 'dosomething.exe'
But that doesn't seem to currently be working for me...
Thank you,
Rob
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
AFAICT, OS Process is broken on Windows; try ProcessWrapper there. ProcessWrapper seems to work only on Windows. ________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Fabrizio Perin Sent: Monday, July 05, 2010 3:47 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] OSProcess in Pharo (on Windows) Hi, I don't know if there were some evolution on OSProcess but sometime ago i had problem using it under Windows too. Basically under Windows some primitives used during the initialization fails. The result is that OSProcess cannot comunicate with the actual OS. So no magic incantation available as far as i know. Cheers, Fabrizio 2010/7/5 Rob Rothwell <r.j.rothwell@gmail.com<mailto:r.j.rothwell@gmail.com>> Forgive me if this question has already been answered, but I can't seem to find it... Is OSProcess running in Pharo, and what is the magic incantation to call an external program, batch file, etc... in Windows? I seem to recall something like: OSProcess thisOSProcess command: 'dosomething.exe' But that doesn't seem to currently be working for me... Thank you, Rob _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Sun, Jul 04, 2010 at 11:58:06PM -0400, Rob Rothwell wrote:
Forgive me if this question has already been answered, but I can't seem to find it...
Is OSProcess running in Pharo, and what is the magic incantation to call an external program, batch file, etc... in Windows?
I seem to recall something like:
OSProcess thisOSProcess command: 'dosomething.exe'
But that doesn't seem to currently be working for me...
Rob, This will work only if you have the required OSProcessPlugin. This is not distributed with the Windows VM. If you build your own VM it should work. Instructions for building a Windows VM are at http://squeakvm.org/win32/ The plugin is at SqueakSource OSProcessPlugin. Dave
participants (4)
-
David T. Lewis -
Fabrizio Perin -
Rob Rothwell -
Schwab,Wilhelm K