Does OSSubprocess works on ARM vm?

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

Re: Does OSSubprocess works on ARM vm?

Denis Kudriashov

2017-05-15 18:10 GMT+02:00 Alistair Grant <[hidden email]>:
And if I execute the following in a playground:

| ls |
OSSUnixSubprocess new
        shellCommand: 'ls ~';
        redirectStdout;
        runAndWaitOnExitDo: [ :process :outString  |
                ls := outString
        ].
ls.


It returns the expected value.

Yes, it works for me too on Mac. Maybe I did something wrong on Raspberry. I will check tomorrow.
Thank's for help
Reply | Threaded
Open this post in threaded view
|

Re: Does OSSubprocess works on ARM vm?

Denis Kudriashov

2017-05-15 22:19 GMT+02:00 Denis Kudriashov <[hidden email]>:
2017-05-15 18:10 GMT+02:00 Alistair Grant <[hidden email]>:
And if I execute the following in a playground:

| ls |
OSSUnixSubprocess new
        shellCommand: 'ls ~';
        redirectStdout;
        runAndWaitOnExitDo: [ :process :outString  |
                ls := outString
        ].
ls.


It returns the expected value.

Yes, it works for me too on Mac. Maybe I did something wrong on Raspberry. I will check tomorrow.

I checked again. It not works on Raspberry same way: empty string returns. Not know how it would be on other Linux
Reply | Threaded
Open this post in threaded view
|

Re: Does OSSubprocess works on ARM vm?

K K Subbu
On Tuesday 16 May 2017 04:26 PM, Denis Kudriashov wrote:
>
> I checked again. It not works on Raspberry same way: empty string
> returns. Not know how it would be on other Linux

If you run it from command line, does it list the files on the tty? Then
it could be a bug in redirectStdout method.

HTH .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: Does OSSubprocess works on ARM vm?

Denis Kudriashov

2017-05-16 13:01 GMT+02:00 K K Subbu <[hidden email]>:

If you run it from command line, does it list the files on the tty? Then it could be a bug in redirectStdout method.

Yes, it works from command line
12