[squeak-dev] Using OSProcess

Alan Knight knight at acm.org
Tue Nov 30 02:52:18 UTC 2010


Hi Mike,
    Writing to you in my Smalltalk Solutions organizing capacity. I'm 
looking around for possible talks, and just scrolling back through 
recent mailing list postings I saw your name, and remembered you as 
doing some pretty interesting work, but I don't think we've ever had you 
speak at Smalltalk Solutions. Is that something you might be interested 
in doing? OK, I'm casting about because the submission deadline is 
actually tomorrow, but if you're interested, we can put you down as 
possible and you don't have to get things together quite that quickly.
     Thanks,
      Alan

On 2010-11-19 12:39 PM, Mike Hales wrote:
> Thanks, that's just want I wanted. And thanks Sean for the tip on the 
> http://forum.world.st/ index. That's pretty handy having all the lists 
> together in one spot.
>
>
> Mike
>
> Mike Hales
> Engineering Manager
> KnowledgeScape
> www.kscape.com <http://www.kscape.com>
>
>
> On Fri, Nov 19, 2010 at 10:37 AM, Casimiro de Almeida Barreto 
> <casimiro.barreto at gmail.com <mailto:casimiro.barreto at gmail.com>> wrote:
>
>     Em 19-11-2010 15:22, Casimiro de Almeida Barreto escreveu:
>>     Em 19-11-2010 15:00, Mike Hales escreveu:
>>>     I must be missing something obvious, but how can I get the
>>>     results of executing an external command.
>>>
>>>     OSProcess command: 'ls /etc'
>>     Try:
>>
>>     | pc1 |
>>
>>         pc1 := (PipeableOSProcess command: 'ls -l' ) output.
>>
>>         Transcript show: pc1.
>     Oooopsss... error:
>
>         Transcript show: pc1 upToEnd.
>
>     Or else:
>
>         Transcript show: (PipeableOSProcess command: 'ls -l') upToEnd;
>     cr.
>
>>>
>>>     returns me an ExternalUnixProcess. I just want a string of the
>>>     command results. This seems to basic to be hard, but I'm
>>>     stumped. In VisualWorks and GemStone this is just a one liner.
>>>
>>>     Thanks,
>>>
>>>     Mike
>>>
>>>
>>>
>>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20101129/bbf642c3/attachment.htm


More information about the Squeak-dev mailing list