Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

perl expect and OS X

Status
Not open for further replies.

arcnon

Programmer
Aug 12, 2003
242
US
I have a cocoa GUI that recieves the user & password.

How do I send a command with expect like:

`login $user`
`sudo chmod 777 $file_path`;
`$password`;

is expect the way to go? Is there a differant standardized way of doing this?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top