You want to use waitForCommand: instead of command:, like

Transcript show: (PipeableOSProcess waitForCommand: 'whoami') output

command: doesn't wait for output and is useful only for commands that don't
return anything. It's kind of useless for anything that returns values. I
haven't tried this on Pharo 5, I've gotten it to work on Pharo 4.



On Friday, March 4, 2016, Dimitris Chloupis <kilon.al...@gmail.com> wrote:

> I once reported a bug for OSProcess on MacOS
>
>
> https://pharo.fogbugz.com/f/cases/16944/OSProcess-stdout-is-not-returned-back-to-pharo
>
> Still experience the same problem, is this suppose to be fixed with new
> OSProcess ?
>
>
>

Reply via email to