• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSLog broken after call of NSTask and setStandardError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLog broken after call of NSTask and setStandardError


  • Subject: Re: NSLog broken after call of NSTask and setStandardError
  • From: "Oliver Siemoneit" <email@hidden>
  • Date: Thu, 17 Jan 2008 21:19:52 +0100

Hello altogether,

thank you very much for your input! It was very helpful. As Hamish suggested I have tried to use another shell, tcsh instead of bash, and suprisingly the problem vanished! The console output remains intact with this script

#!/bin/tcsh
echo hello

and breaks with this shell script

#!/bin/bash
echo hello

But I don't know why... Is this worth a bug report? Or is there a way to keep bash from breaking the console output?
Oliver



----- Original Message ----- From: "Hamish Allan" <email@hidden>
To: "Oliver Siemoneit" <email@hidden>
Cc: <email@hidden>
Sent: Thursday, January 17, 2008 2:24 AM
Subject: Re: NSLog broken after call of NSTask and setStandardError



On Jan 17, 2008 12:11 AM, Oliver Siemoneit <email@hidden> wrote:

Is there an explanation for this? Or am I doing something wrong?

Not sure why it's happening, but the first thing I'd try would be something other than bash, e.g.,

#!/usr/bin/python -u
print 'hello'

Hamish


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSLog broken after call of NSTask and setStandardError
      • From: "Hamish Allan" <email@hidden>
References: 
 >NSLog broken after call of NSTask and setStandardError (From: "Oliver Siemoneit" <email@hidden>)
 >Re: NSLog broken after call of NSTask and setStandardError (From: "Hamish Allan" <email@hidden>)
 >Re: NSLog broken after call of NSTask and setStandardError (From: "Oliver Siemoneit" <email@hidden>)
 >Re: NSLog broken after call of NSTask and setStandardError (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: NSTimer problem
  • Next by Date: RE: Creating a file containing both an image and text
  • Previous by thread: Re: NSLog broken after call of NSTask and setStandardError
  • Next by thread: Re: NSLog broken after call of NSTask and setStandardError
  • Index(es):
    • Date
    • Thread