May 4, 2012
2:39 a.m.
On Thu, May 03, 2012 at 12:14:21PM +0200, Damien Cassou wrote:
Hi,
OSProcess thisOSProcess chDir: '/'.
always returns a
/: Resource temporarily unavailable
Thanks, this is a bug in the plugin that has apparently been there since at least 2006. It's a reversed #ifTrue:ifFalse: so the primitive answers errno on success rather than on failure. Fixed in VMConstruction-Plugins-OSProcessPlugin-dtl.35 on SqueakSource, the patch will need to go into the oscog branch of OSProcessPlugin also. Dave
I'm using Pharo 2.0 with #bleedingEdge OSProcess.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry