Skip to content
SALaunchShell is a simple class that makes it easy to launch shell scripts using NSTask and launching shell scripts with authentication using STPrivilegedTask
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SALaunchShell
README.md

README.md

SALaunchShell

SALaunchShell is a simple class that makes it easy to launch shell scripts using NSTask and launching shell scripts with authentication using STPrivilegedTask

SALaunchShell Copyright © 2009-2012 Shmoopi LLC shmoopillc@gmail.com http://www.shmoopi.net/

SALaunchShell is a simple NSObject Class that makes it easy to launch shell scripts using NSTask and launching shell scripts with authentication using STPrivilegedTask - an NSTask-like wrapper around AuthorizationExecuteWithPriviliges. This class provides the output from the shell script, and any error codes that might occur, back as a string. This class is very simple and only provides the most basic of functionality to run shell scripts from your application.

Please feel free to customize the class as much as you'd like, or use any of the code within your projects.
All credit goes to Sveinbjorn Thordarson sveinbjorn@gmail.com for producing STPrivilegedTask.
If you like what you see here, or on our website, please feel free to drop us a line or purchase one of our applications!

Thanks, Shmoopi LLC

You can’t perform that action at this time.