bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask or NSNotification problem


From: Richard Frith-Macdonald
Subject: Re: NSTask or NSNotification problem
Date: Wed, 20 Jun 2001 20:04:16 +0100

On Wednesday, June 20, 2001, at 05:31 PM, Matt Gundry wrote:

NOTE: Duplicate filed with GNUStep bug report database.

I am having a problem with recieving notifications from tasks. I'm not
sure if this is an NSTask issue, a problem with NSNotification or just
confusion on my part.

I need to do a number of tasks in order, so I've created a task list and
launch the first task. I then listen for NSTaskDidTerminateNotification.
When that notification arrives, I remove the completed task from the
task list and launch the next one. The problem is that I am not
receiving the notifications unless my runloop does some busy work (eg.
NSLog).

I don't know why calling NSLog() would effect anything, but I have just
committed a bugfix to the CVS repository that might cure your problem ...
please let me know.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]