[Newbies] CommandShell/OSPRocess primCreatePipe failing. How to debug?
David T. Lewis
lewis at mail.msen.com
Fri Aug 30 14:04:09 UTC 2019
Can you say something about how you get to the point of getting
this error, and what operating system you are using? The code
snippet looks odd to me because it appears to be a decompiled
version of the method in OSProcess. Maybe you do not have a
changes file to go with your image file?
A typical reason for failing to create pipes is that you have
somehow opened too many file handles for your VM, possibly by
opening a lot of pipes and not closing them completely.
On Fri, Aug 30, 2019 at 07:58:50AM -0500, tty wrote:
> | t1 |
> *t1 := OSProcess accessor makePipeHandles.*
> t1 isNil
> ifTrue: [self error: 'cannot create OS pipe']
> ifFalse: [self
> reader: (AttachableFileStream
> name: 'pipeReader'
> attachTo: (t1 at: 1)
> writable: false).
> writer: (AttachableFileStream
> name: 'pipeWriter'
> attachTo: (t1 at: 2)
> writable: true)]
> OSProcess accessor is a * 'a UnixOSProcessAccessor on pid 19790'*
> Where *self makePipeHandles* returns and undefined object.
> How should I think about this?
> Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
More information about the Beginners