On 8/4/08 4:09 AM, Rodrick Brown wrote:


On Mon, Aug 4, 2008 at 12:33 AM, David Newman <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    How to launch a perl script when starting iTerm.app or Terminal.app
    in OS X?

    Thanks in advance and apologies for the slightly OT post.

    dn


Under preferences->startup tab in Terminal.app you can have it launch a script instead of the default /bin/bash.

Thanks. This script outputs a single line to STDOUT, which I'd like to display with each new window opened.

Calling the script as suggested above is followed immediately by "Process Terminated" but I'd like to continue using the terminal window.

Neither of these work:

/path/to/scriptname; /bin/bash

and

/path/to/scriptname && /bin/bash

Is there some other way to do it?

thanks again

dn



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to