[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pythonmac-sig
Subject:    Re: [Pythonmac-SIG] [ann] ASDictionary, ASTranslate updates
From:       Adam Morris <amorris () mistermorris ! com>
Date:       2010-12-23 3:08:26
Message-ID: AANLkTim2k-sXHp=eWJaSoJfDGRXfW8u=t1Bbi5Z+c94G () mail ! gmail ! com
[Download RAW message or body]

> print sa.do_shell_script("ls -l", administrator_privileges=True)

Thanks Charles, I had forgotten that do shell script is a part of the
Standard Addition osax. Now I know how to run a script that needs the
user's permission without having to use some GUI scripts to get the
admin/password dialog.
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic