> On May 15, 2017, at 5:16 AM, Denis Kudriashov <[email protected]> wrote:
> 
> 
> 2017-05-15 14:04 GMT+02:00 Mariano Martinez Peck <[email protected]>:
>> Denis, you can also have shortcut methods to call shell from OSSubprocess. 
>> See the tests under "tests - shell" protocol.
> 
> I tried this:
> 
> OSSUnixSubprocess new
>       shellCommand: 'ls ~';
>       redirectStdout;
>       runAndWaitOnExitDo: [ :process :outString  |
>               ^outString 
>       ].

Try something like

        shellCommand: 'bash -c ''ls ~''';

> 
> And it still returns empty string without error in console. With "ls ../" it 
> works fine

Reply via email to