[Vm-dev] OSProcessPlugin: VMConstruction-Plugins-OSProcessPlugin-dtl.44.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Fri Mar 9 03:23:49 UTC 2018

Dave Lewis uploaded a new version of VMConstruction-Plugins-OSProcessPlugin to project OSProcessPlugin:

==================== Summary ====================

Name: VMConstruction-Plugins-OSProcessPlugin-dtl.44
Author: dtl
Time: 8 March 2018, 10:23:47.189 pm
UUID: d7419ae2-4a7f-4d26-a399-df94c92ae9c4
Ancestors: VMConstruction-Plugins-OSProcessPlugin-dtl.43

OSProcessPlugin 4.6.3

Add primitiveConnectToFile and primitiveConnectToFileDescriptor by Alistair Grant,, originally implemented in oscog FilePlugin and adapted here for OSProcessPlugin.. The primitiveConnectToFileDescriptor implementation works for Unix and Windows, but primitiveConnectToFile is implemented only for Unix because win32 FilePlugin does not use FILE* as file reference.

Consolidate SQFile creation into sqFileFrom:forWrite:isStdio: and use this throughout various primitives.

Note, the isStdioStream member of SQFile in FilePlugin is a mis-feature, probably intended for support of win32 mapping of stdio streams to Windows console but inappropriate for non-Windows platforms. It is supported as a parameter to #sqFileFrom:forWrite:isStdio: but sent only in the Win32OSProcessPlugin, and always set to zero otherwise. Do not change this without running the OSProcess unit tests.

More information about the Vm-dev mailing list