[Newbies] PipeableOSProcess shell interaction

OpenSlate ChalkDust openslateproj at gmail.com
Mon Jun 17 20:16:05 UTC 2013

On Wed, Jun 12, 2013 at 2:47 AM, David T. Lewis <lewis at mail.msen.com> wrote:

> On Tue, Jun 11, 2013 at 10:34:47PM -0700, Sean P. DeNigris wrote:
> > When using PipeableOSProcess as a shell, how can I get feedback on the
> status
> > of the individual commands?
> [snip]
> PipeableOSProcess is designed to be part of CommandShell, so when you use
> it
> directly (rather than using a CommandShell), you need to take care of a few
> details. The important things are to set the output pipe for nonblocking
> reads
> (otherwise you will hang up your VM on a read), and to close pipes when you
> are done using them (otherwise you will "leak" file handles over time).
> Dave
Could the example you gave be implemented using CommandShell? In what
situations would I want to use PipeableOSProcess instead of CommandShell?
Gary Dunn
Open Slate Project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20130617/c10fdf90/attachment.htm

More information about the Beginners mailing list