Hi, I was trying to fix this, but seems to be a problem (besides the "'-psn_0_528513'", which is an error). According SmalltalkImage>>#getSystemAttribute: comment, getSystemAttribute: 0 shouldn't answer the executable name, but the VM path: 0 the full path name for currently executing VM (or, on some platforms, just the path name of the VM's directory) ...so... getSystemAttribute: 0 is answering fine... and -1 should answer nil (or the vm parameters, if present), not the executable name. Real problem then is: we don't have a way to get the executable name or getSystemAttribute: comment is wrong :) what's the audience opinion? cheers, Esteban El 31/12/2011, a las 9:11p.m., Sean P. DeNigris escribió:
The latest blessed cocoa build from Jenkins (12/11/11 #10) + 1.3-rc returns:
SmalltalkImage current getSystemAttribute: -1."'-psn_0_528513'" SmalltalkImage current getSystemAttribute: 0 "'/Applications'"
There does not seem to be a way to get the vm executable name.
Sean
-- View this message in context: http://forum.world.st/VM-Smalltalk-getSystemAttribute-tp4122708p4249718.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.