User input within a shell
User input within a shell
- Subject: User input within a shell
- From: Jess McKenzie <email@hidden>
- Date: Thu, 12 Feb 2009 08:53:47 +1000
Hello,
I'm having a spot of trouble trying to work out how to do something
and i'm hoping you help me out.
I have a Terminal shell script that i want to run through Automator
and create an application with. I can put the script in the shell in
automator easy so that's not the problem... the problem is that the
script requires the user to enter their admin password. (in terminal
itself, you enter the script, hit enter, and then are prompted for a
password at which point you must enter the password and hit enter
again.) So, when i run the script, it fails as it cannot complete
without that password. Is there a way i can set this up so the user
can be prompted for their password, and that password entered in it's
place.
Thanking you in advance,
Jess
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden