• 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
User input within a shell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: User input within a shell
      • From: "Bryan S. Lee" <email@hidden>
    • Re: User input within a shell
      • From: Daniel Rhoden <email@hidden>
  • Prev by Date: Re: Workflow works fine, but not as saved application
  • Next by Date: Re: User input within a shell
  • Previous by thread: Re: Workflow works fine, but not as saved application
  • Next by thread: Re: User input within a shell
  • Index(es):
    • Date
    • Thread