[Newbies] CommandShell/OSPRocess primCreatePipe failing. How to debug?

tty gettimothy at zoho.com
Fri Aug 30 12:58:50 UTC 2019


In 


ExternalPipe>>
makePipe
	| 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).
			self
				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?

thnks






--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html


More information about the Beginners mailing list