Login  Register

Re: Pharo 8 - OSProcess or OSSubProcess or ?

Posted by Torsten Bergmann on May 04, 2020; 10:42pm
URL: https://forum.world.st/Pharo-8-OSProcess-or-OSSubProcess-or-tp5116104p5116110.html

Hi Paul,

you can use:

    LibC resultOfCommand: 'dir'

which is part of standard image.

Bye
T.


> Gesendet: Montag, 04. Mai 2020 um 20:05 Uhr
> Von: "PAUL DEBRUICKER" <[hidden email]>
> An: "Any question about pharo is welcome" <[hidden email]>
> Betreff: [Pharo-users] Pharo 8  - OSProcess or OSSubProcess or ?
>
> Hi -
>
> What  is the recommended way to  run a shell command  from Pharo 8 and  get  the output from stdout into the image?
>
>
> Thanks
>
> Paul
>