# Packaging an Application on Mac OS X with Platypus

**URL:** <https://www.ruby-forum.com/t/packaging-an-application-on-mac-os-x-with-platypus/72353>\
**Category:** Rails\
**Created:** [February 23, 2006, 4:05pm UTC](https://www.ruby-forum.com/t/packaging-an-application-on-mac-os-x-with-platypus/72353 "2006-02-23T16:05:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![archangel77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@archangel77](https://www.ruby-forum.com/u/archangel77)\
**Post date:** [February 23, 2006, 4:05pm UTC](https://www.ruby-forum.com/t/packaging-an-application-on-mac-os-x-with-platypus/72353/1 "2006-02-23T16:05:29Z")

</div>

Platypus ([Platypus: Make Native Mac Applications from Command Line Scripts](http://sveinbjorn.sytes.net/platypus)) is an application that  
takes a shell script and packages it as a clickable Mac OS X  
application.  
I would like to have a clickable application that executes the command  
“script/server” and displays the output in the text window, alongside  
with a “quit”-button that ends the server process.  
My shell script looks like this:

#!/bin/sh  
$1/…/script/server

When I execute the generated application the server gets started  
correctly but it produces no output and the application quits without  
ending the server script.

Has anybody tried what I am doing? Any tips for getting the desired  
behavior?

---

<div class="post-metadata">

**Author:** ![archangel77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@archangel77](https://www.ruby-forum.com/u/archangel77)\
**Post date:** [February 24, 2006, 11:13pm UTC](https://www.ruby-forum.com/t/packaging-an-application-on-mac-os-x-with-platypus/72353/2 "2006-02-24T23:13:23Z")

</div>

In article [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid),  
Gabriel B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> When I execute the generated application the server gets started  
> correctly but it produces no output and the application quits without  
> ending the server script.
> 
> Has anybody tried what I am doing? Any tips for getting the desired  
> behavior?

Have a look at iHook [http://rsug.itd.umich.edu/software/ihook/](http://rsug.itd.umich.edu/software/ihook/)

jpb

–  
Joe B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Have GNU, will travel.
