Little problem which I not understand. Maybe you can explain. Path '~' is not recognizied in ls command: OSSUnixSubprocess new command: '/bin/ls'; arguments: #('~'); redirectStdout; runAndWaitOnExitDo: [ :process :outString | outString ] It returns empty string and console report: ls: cannot access ~: No such file or directory Any idea why it not works properly? (from command line "ls ~" returns expected files). 2017-05-15 11:52 GMT+02:00 Denis Kudriashov <dionisiydk@gmail.com>:
I just checked. It works perfectly.
One notice for API:
OSSUnixSubprocess new command: '/bin/ls'; arguments: #('-la' '/Users'); redirectStdout; runAndWaitOnExitDo: [ :process :outString | outString ]
Why you are not return result of block? It would be very handy (here it is an OSSUnixSubprocess instance).
2017-05-12 14:18 GMT+02:00 Mariano Martinez Peck <marianopeck@gmail.com>:
mmmm I don't know. Can you at least try for the first time in a 32 bits ARM ?
On Fri, May 12, 2017 at 5:00 AM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
Hi.
I decided to ask before I will try it.
Best regards, Denis
-- Mariano http://marianopeck.wordpress.com