[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with NSTaskDidTerminateNotification
From: |
Germán Arias |
Subject: |
Re: Problem with NSTaskDidTerminateNotification |
Date: |
Sun, 06 Apr 2014 18:53:32 -0600 |
User-agent: |
GNUMail (Version 1.2.1) |
On 2014-04-05 01:54:08 -0600 Richard Frith-Macdonald <address@hidden> wrote:
[...]
>
> Another possibility would be if you are launching an intermediate subtask (eg
> a shell which then runs the tool asynchronously) which terminates.
>
> 1. launch the shell subtask
> 2. shell launches the tool
> 3. shell terminates
> 4. parent receives notification
> 5. tool terminates
>
This seems to be the case, even when the task is launched with path of the
tool. Anyway, I solved this problem waiting until pipes don't send data.
Germán.