NSTask and Shell
NSTask and Shell
- Subject: NSTask and Shell
- From: Martin Weil <email@hidden>
- Date: Sun, 2 Mar 2003 10:47:10 +0100
Hi!
I am trying to execute a sudo command via NSTask, all works well, but I
don't know how to transmit the password to the shell, after I
transmitted the sudo command and the shell gives me the Password prompt.
Ah, and a second question: I am searching for a special Panel to
retrieve an admin password from the user. I often see the same panel
for this in many apps (e.g. Software-Update), so there must be some
sort of special panel for this.
Thanks in advance!
Best Regards
Martin Weil
--
http://www.mawtec.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.