[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSTask terminate
From: |
Björn Giesler |
Subject: |
NSTask terminate |
Date: |
Wed, 7 May 2003 14:00:16 +0200 |
User-agent: |
KMail/1.5 |
Hi,
I´m playing around a bit with NSTask, launching, terminating, and
re-launching the same NSTask object, and I´ve found that it´s not possible
to give a task object a different path and arguments if it has been
launched once, even if it was terminated since. I.e. the task object keeps
a BOOL _hasLaunched which is set upon [aTask launch] but never re-set.
Is this correct behaviour? Does this mean I have to create a new NSTask
object every time? If not, I´ll submit a patch.
Regards,
--Björn
--
Dipl.-Inform. Björn Giesler, IAIM, University of Karlsruhe (TH)
See http://wwwiaim.ira.uka.de/users/giesler for information.
A society that will trade a little freedom for a little order will
lose both, and deserves neither. --T. Jefferson
Support privacy. Mail me for my PGP/GPG public key.
- NSTask terminate,
Björn Giesler <=