If the target of the -LoginHook parameter is a plain Mach-O binary that acts like a daemon, the mechanism works. If you execute the binary instead of the .app folder: -LoginHook /Applications/Chess.app/Contents/MacOS/Chess the LoginHook does indeed cause Chess to execute. --Steve On Fri, Jul 11, 2003 at 01:48:06PM -0600, David Blanton wrote:
I have added the path to an executable and the path to a script using the
-LoginHook parameter to loginwindow and neither getsexecuted. Can anyone
comment on my error please:
console
"/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
-LoginHook /applications/chess.app" vt100 on secure
window=/System/Library/CoreServices/WindowServer
onoption="/usr/libexec/getty std.9600"
The above does not cause chess.app to launch
console
"/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
-LoginHook /usr/mruip" vt100 on secure
window=/System/Library/CoreServices/WindowServer
onoption="/usr/libexec/getty std.9600"
The above does not cause /usr/mruip to execute where /usr/mruip is open -a
chess
Help!
David Blanton
_______________________________________________
darwin-kernel mailing list | darwin-kernel@lists.apple.com
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
_______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.