[squeak-dev] How to use OSProcess with stdin and stdout

Chris Muller asqueaker at gmail.com
Sun May 17 23:52:44 UTC 2020


Hi Martin,

> I don't know what classes to use for stdIn and stdOut.

Squeak provides access to stdin and stdout from the FileStream class, even
without OSProcess loaded.

> But I do not see any mention of a head label. So where did I go wrong?

The head label is a naming convention used on some SqueakMap packages to
build a developer's workstation to work on that package.  It usually means
"load the latest code" including all tests and tools packages.  It's useful
early on in a project, but when finally deploying your own app, you will
definitely want to specify a fixed version, and _not_ the head version,
otherwise your package could easily rot.

> SqueakMap is nice because it makes the packages easily findable,
> but a long-standing annoyance is that I have no way of expressing
> the version compatibility.

The above needs a clarification.  SqueakMap is widely misunderstood to be
an SCM tool.  It's not, it's actually Squeak's App Store.  It's 100% about
letting *Publishers* define working software *Releases* (including
specifying the "version compatibility" -- which version of Squeak they were
tested on) that can then be consumed with "one click" by *Users, *while
providing a good UX for both.  I'm planning a revamp of it later this year.

> The warnings from SqueakMap look alarming,

This is the message Dave is referring to.

[image: alarming-SM-message.png]

The head version is the developers version.  When developers intending to
work on a package see this message, they already know about potential
compatibility issues.  The message is correct.  If it feels alarming, it
means you should select the one listed under the "safely-available" filter.

Best,
  Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200517/a33e946c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alarming-SM-message.png
Type: image/png
Size: 9782 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200517/a33e946c/attachment.png>


More information about the Squeak-dev mailing list