On Aug 22, 2006, at 3:18 PM, Norman Palardy wrote:
On Aug 22, 2006, at 4:03 PM, Tim Jones wrote:
I see this now - I've rebooted my Mac Pro because a lot of OTHER
stuff started acting strangely.
The reason for my jump to this conclusion is that it would also
happen if I started my Terminal session with /bin/sh as my shell.
However, it doesn't change the fact that I still see the errors
under the Shell class when running an app. If the exec'd tool is
either a separate power-pc or i386 binary, the error doesn't occur
with no other changes to my RB code, so something is still amiss.
I only get the error you note if I do
sh grep -a tiger1 /etc/hosts
which, as had been pointed out, is an incorrect invocation of sh
and a command
In RB if I do
dim s as Shell
s = new Shell
s.Execute "grep -a tiger1 /etc/hosts"
I get no error in the result on OS X 10.4.7 / MacBook Pro 2.16Ghz
MHz / 2Gb RAM
I found the issue and it's neither RB (I didn't suspect) or /bin/sh
(as I did suspect). It was using lipo to join a 10.2 SDK binary into
the fat binary. I rebuilt the 10.2 PPC binary with the new Xcode and
the combined fat binary no longer exhibits the failure.
Sorry for the false alarm. But I've learned to rebuild everything
that I'd previously built under Project Builder now. I was just
combining the old binaries with the new without rebuilding ...
Tim
--
Tim Jones [EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>