Mac Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsMac Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 19th, 2006, 12:54 PM
blurrred.com blurrred.com is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: San Jose, CA
Posts: 7 blurrred.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 7 sec
Reputation Power: 0
Send a message via AIM to blurrred.com
Question Running sh script from outside the terminal.

Hi,

Is it possible to run a .sh script from outside the terminal? Is there some way to create a desktop or dock alias that will execute that script automatically?

Thanks,

-J

Reply With Quote
  #2  
Old January 19th, 2006, 01:00 PM
ericgorr ericgorr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 46 ericgorr User rank is Corporal (100 - 500 Reputation Level)ericgorr User rank is Corporal (100 - 500 Reputation Level)ericgorr User rank is Corporal (100 - 500 Reputation Level)ericgorr User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 9 m 27 sec
Reputation Power: 6
Quote:
Originally Posted by blurrred.com
Is it possible to run a .sh script from outside the terminal? Is there some way to create a desktop or dock alias that will execute that script automatically?


You could wrap the shell script inside of an Applescript application.

See

Executing Shell Commands From AppleScript Scripts

Reply With Quote
  #3  
Old January 19th, 2006, 01:21 PM
blurrred.com blurrred.com is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: San Jose, CA
Posts: 7 blurrred.com User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 7 sec
Reputation Power: 0
Send a message via AIM to blurrred.com
Thanks, I also found this one.. for future references..

http://www.projectomega.org/article.php?lg=en&php=tuts_howtos4&p=1

-J

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsMac Help > Running sh script from outside the terminal.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway