bug-gnustep
[Top][All Lists]
Advanced

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

[bug #13685] NSTask does not raise an exception when launch fails


From: Rob Burns
Subject: [bug #13685] NSTask does not raise an exception when launch fails
Date: Fri, 8 Jul 2005 04:26:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050521 Firefox/1.0.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13685>

                 Summary: NSTask does not raise an exception when launch
fails
                 Project: GNUstep
            Submitted by: rburns
            Submitted on: Fri 07/08/2005 at 04:26
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

if launch is called on an NSTask, after terminate has been called, it will
silently fail, without raising an exception. On osx an exception is raised.


>From cocoa docs

- (void)launch
Launches the task represented by the receiver. Raises an
NSInvalidArgumentException if the launch path has not been set or is invalid
or if it fails to create a process.

I wasn't able to find NSTask in the openstep specification on the gnustep.org
site.









    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13685>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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