• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"RegisterProcess failed (error = -50)" from child process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"RegisterProcess failed (error = -50)" from child process


  • Subject: "RegisterProcess failed (error = -50)" from child process
  • From: Drew Mccormack <email@hidden>
  • Date: Wed, 24 Aug 2005 10:42:31 +0200

I have a strange problem. I have wrapped a Tcl/Tk application, which runs with X11, in a Cocoa starter app. This works fine, until the Tcl program tries to use the 'open' command to open a URL in Safari. Then I get the error

RegisterProcess failed (error = -50)

What is strange is that if I start the Tcl program from the command line, Safari starts without any problem.

I searched the archives, and found this error mentioned in relation to fork and execve. The solution in the archives was to first fork, and then call execve in the child. I tried this, and it didn't change anything.
(I am using NSTask to start the child process, and I suspect it already calls execve anyway.)


Anyone have any ideas?

Drew


--------------------------------------------------------- Drew McCormack

www.maniacalextent.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Webview reloading is blocked ?
  • Next by Date: [ANN] Articles on Xgrid and Cocoa
  • Previous by thread: Re: Webview reloading is blocked ?
  • Next by thread: [ANN] Articles on Xgrid and Cocoa
  • Index(es):
    • Date
    • Thread