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/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep