<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
OK, clearly I should look who I'm responding to before I actually
send emails. That last one was intended to go to Mike personally.
However, the general invitation applies to all anyway. We're looking
for interesting talks for Smalltalk Solutions, and if you think you
might be interested, please go to <a class="moz-txt-link-freetext" href="http://www.smalltalksolutions.com">http://www.smalltalksolutions.com</a>
and put in a submission or just email me.<br>
<br>
Thanks,<br>
Alan<br>
<br>
On 2010-11-19 12:39 PM, Mike Hales wrote:
<blockquote
cite="mid:AANLkTi=yBjnymE3Sjycfc8adHpsnTsbHASQY7i_B8k-q@mail.gmail.com"
type="cite">Thanks, that's just want I wanted. And thanks Sean for
the tip on the <a moz-do-not-send="true"
href="http://forum.world.st/">http://forum.world.st/</a> index.
That's pretty handy having all the lists together in one spot.
<div><br>
</div>
<div>
<div><br>
</div>
<div>Mike</div>
<div><br clear="all">
Mike Hales<br>
Engineering Manager<br>
KnowledgeScape<br>
<a moz-do-not-send="true" href="http://www.kscape.com">www.kscape.com</a><br>
<br>
<br>
<div class="gmail_quote">On Fri, Nov 19, 2010 at 10:37 AM,
Casimiro de Almeida Barreto <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:casimiro.barreto@gmail.com">casimiro.barreto@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Em 19-11-2010
15:22, Casimiro de Almeida Barreto escreveu:
<div class="im">
<blockquote type="cite"> Em 19-11-2010 15:00, Mike
Hales escreveu:
<blockquote type="cite">I must be missing something
obvious, but how can I get the results of
executing an external command.
<div><br>
</div>
<div>OSProcess command: 'ls /etc'</div>
</blockquote>
Try:<br>
<br>
| pc1 |<br>
<br>
pc1 := (PipeableOSProcess command: 'ls -l' )
output.<br>
<br>
Transcript show: pc1. <br>
</blockquote>
</div>
Oooopsss... error:<br>
<br>
Transcript show: pc1 upToEnd.<br>
<br>
Or else:<br>
<br>
Transcript show: (PipeableOSProcess command: 'ls
-l') upToEnd; cr.
<div class="im"><br>
<blockquote type="cite">
<blockquote type="cite">
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Mike</div>
<div><br>
</div>
<pre><fieldset></fieldset>
</pre>
</blockquote>
<br>
</blockquote>
<br>
<br>
</div>
</div>
<br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Alan Knight [|], Engineering Manager, Cincom Smalltalk
<a class="moz-txt-link-abbreviated" href="mailto:knight@acm.org">knight@acm.org</a>
<a class="moz-txt-link-abbreviated" href="mailto:aknight@cincom.com">aknight@cincom.com</a>
<a class="moz-txt-link-freetext" href="http://www.cincom.com/smalltalk">http://www.cincom.com/smalltalk</a></pre>
</body>
</html>