Perhaps

File >> connectToFileDescriptor: fileDescriptor writable: writableFlag

followed by read/writeStream ?


Not tested, just did a few searches in P8 image.


From: Jan Vran� <Jan.Vrany@labware.com>
Sent: Thursday, July 20, 2023 9:20:46 AM
To: pharo-dev@lists.pharo.org; marianopeck@gmail.com
Subject: [Pharo-dev] Opening a stream on file with given file descriptor
 
Hi,

I'm struggling to find a way how to create a read/write stream 
for given file descriptor (in Pharo 8 ideally). Is there a way?

Thanks! Jan