"RegisterProcess failed (error = -50)" from child process
"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