OS(Sub)Process on Raspberry Pi ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

OS(Sub)Process on Raspberry Pi ?

Sven Van Caekenberghe-2
Hi,

What is the state of OS(Sub)Process on Raspberry Pi ?

I want a Pharo application to be able to execute some (simple, no IO) OS commands on Raspbian. Can that be done ? Does it work for Pharo 4, 5 ? What should I load ?

Thx,

Sven


Reply | Threaded
Open this post in threaded view
|

Re: OS(Sub)Process on Raspberry Pi ?

Mariano Martinez Peck
Hi Sven,

Since OSSubprocess uses the latest FFI, it works only in Pharo 5.0 AND Spur (and after certain Pharo 5.0 release). So you should grab latest Spur-based Pharo 5.0 for OSSubprocess. 

Since Raspbian is based on Debian, I guess it should work (OSSubprocess uses libc), but I cannot tell as I don't have a Raspberry Pi here. 

If you get a Spur based Pharo 5.0 image and VM working in Raspberry Pi I can help you to see if it works. 

Let me know,


On Fri, Feb 12, 2016 at 6:59 PM, Sven Van Caekenberghe <[hidden email]> wrote:
Hi,

What is the state of OS(Sub)Process on Raspberry Pi ?

I want a Pharo application to be able to execute some (simple, no IO) OS commands on Raspbian. Can that be done ? Does it work for Pharo 4, 5 ? What should I load ?

Thx,

Sven





--
Reply | Threaded
Open this post in threaded view
|

Re: OS(Sub)Process on Raspberry Pi ?

Clément Béra
The latest FFI uses the old VM FFI which works on x86 and ARM and a new front-end which is seemingly x86 dependent.

So OSSubProcess will work if you use FFI, but the old syntax not the new one.

2016-02-13 0:23 GMT+01:00 Mariano Martinez Peck <[hidden email]>:
Hi Sven,

Since OSSubprocess uses the latest FFI, it works only in Pharo 5.0 AND Spur (and after certain Pharo 5.0 release). So you should grab latest Spur-based Pharo 5.0 for OSSubprocess. 

Since Raspbian is based on Debian, I guess it should work (OSSubprocess uses libc), but I cannot tell as I don't have a Raspberry Pi here. 

If you get a Spur based Pharo 5.0 image and VM working in Raspberry Pi I can help you to see if it works. 

Let me know,


On Fri, Feb 12, 2016 at 6:59 PM, Sven Van Caekenberghe <[hidden email]> wrote:
Hi,

What is the state of OS(Sub)Process on Raspberry Pi ?

I want a Pharo application to be able to execute some (simple, no IO) OS commands on Raspbian. Can that be done ? Does it work for Pharo 4, 5 ? What should I load ?

Thx,

Sven





--