[squeak-dev] Re: Using OSProcess

Sean P. DeNigris sean at clipperadams.com
Fri Nov 19 17:07:58 UTC 2010



Mike Hales wrote:
> 
> I must be missing something obvious, but how can I get the results of
> executing an external command.
> 
> OSProcess command: 'ls /etc'
> 

It may be possible, but the standard advice is to use CommandShell's
PipeableOSProcess.

Nabble has a great searchable archive of the mailing lists.  Searching for
"command line output" produced
http://forum.world.st/OSProcess-return-value-from-command-td68289.html,
which has the specifics of what you want.

Sean
-- 
View this message in context: http://forum.world.st/Using-OSProcess-tp3050663p3050676.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.



More information about the Squeak-dev mailing list