[platypus-dev] Re: platypus automatically redirect shell output

  • From: Bruce Johnson <johnson@xxxxxxxxxxxxxxxxxxxx>
  • To: platypus-dev@xxxxxxxxxxxxx
  • Date: Thu, 18 Nov 2010 12:19:24 -0700

On Nov 18, 2010, at 12:17 PM, Bruce Johnson wrote:

> 
> On Nov 18, 2010, at 11:32 AM, Luca Fiaschi wrote:
> 
>> I just subscribed the mailing list.
>> I use platypus to transform my shell script into a a mac app. Actually this 
>> lunch a program written in python that  is bundled inside the application.  
>> For debugging I would like to display the output of the shell into the 
>> normal shell window rather than into the window created by platypus. Is it 
>> possible in some way?
> 
> Redirect your output to the syslog; otherwise you need to spawn a shell to 
> write to.
> 
> <http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/syslog.1.html>

Another, friendlier way to do it is with the logger command:

<http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html>


-- 
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs



Other related posts: