Re: NSLog broken after call of NSTask and setStandardError
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