![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/usr/share/GNUstep/Documentation/Developer/Base/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSTask class reference</title> </head> <body> <font face="serif"> <a href="Base.html">Up</a> <br /> <h1><a name="title$NSTask">NSTask class reference</a></h1> <h3>Authors</h3> <dl> <dt>Richard Frith-Macdonald (<a href="mailto:richard@brainstorm.co.uk"><code>richard@brainstorm.co.uk</code></a>)</dt> <dd> </dd> </dl> <p><b>Copyright:</b> (C) 1998,1999 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSTask class </a></h1> <h2><a name="class$NSTask">NSTask</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>Foundation/NSTask.h</dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> The NSTask class provides a mechanism to run separate tasks under (limited) control of your program. </div> <hr width="50%" align="left" /> <a href="#_NSTask_ivars">Instance Variables</a> <br/><br/> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSTask.html#method$NSTask+launchedTaskWithLaunchPath$arguments$">+launchedTaskWithLaunchPath:arguments:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-arguments">-arguments</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-currentDirectoryPath">-currentDirectoryPath</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-environment">-environment</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-interrupt">-interrupt</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-isRunning">-isRunning</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-launch">-launch</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-launchPath">-launchPath</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-processIdentifier">-processIdentifier</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-resume">-resume</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-setArguments$">-setArguments:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-setCurrentDirectoryPath$">-setCurrentDirectoryPath:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-setEnvironment$">-setEnvironment:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-setLaunchPath$">-setLaunchPath:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-setStandardError$">-setStandardError:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-setStandardInput$">-setStandardInput:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-setStandardOutput$">-setStandardOutput:</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-standardError">-standardError</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-standardInput">-standardInput</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-standardOutput">-standardOutput</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-suspend">-suspend</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-terminate">-terminate</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-terminationReason">-terminationReason</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-terminationStatus">-terminationStatus</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-usePseudoTerminal">-usePseudoTerminal</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-validatedLaunchPath">-validatedLaunchPath</a></li> <li><a rel="gsdoc" href="NSTask.html#method$NSTask-waitUntilExit">-waitUntilExit</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSTask+launchedTaskWithLaunchPath$arguments$">launchedTaskWithLaunchPath: arguments: </a></h3> + (<a rel="gsdoc" href="#class$NSTask">NSTask</a>*) <b>launchedTaskWithLaunchPath:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)path<b> arguments:</b> (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*)args;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Creates and launches a task, returning an autoreleased task object. Supplies the <var>path</var> to the executable and an array of argument. The task inherits the parents environment and I/O. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-arguments">arguments </a></h3> - (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*) <b>arguments</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the arguments set for the task. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-currentDirectoryPath">currentDirectoryPath </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>currentDirectoryPath</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the working directory set for the task. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-environment">environment </a></h3> - (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>environment</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the environment set for the task. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-interrupt">interrupt </a></h3> - (void) <b>interrupt</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sends an interrupt signal to the receiver and any subtasks. <br /> If the task has not been launched, raises an NSInvalidArgumentException. <br /> Has no effect on a task that has already terminated. <br /> This is rather like the terminate method, but the child process may not choose to terminate in response to an interrupt. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-isRunning">isRunning </a></h3> - (BOOL) <b>isRunning</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Checks to see if the task is currently running. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-launch">launch </a></h3> - (void) <b>launch</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Launches the task. <br /> Raises an NSInvalidArgumentException if the launch path is not set or if the subtask cannot be started for some reason (eg. the executable does not exist or the task has already been launched). The actual launching is done in a concrete subclass; this method just takes care of actions common to all subclasses. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-launchPath">launchPath </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>launchPath</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the launch path set for the task. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-processIdentifier">processIdentifier </a></h3> - (int) <b>processIdentifier</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns the number identifying the child process on this system. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-resume">resume </a></h3> - (BOOL) <b>resume</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Sends a cont signal to the receiver and any subtasks. <br /> If the task has not been launched, raises an NSInvalidArgumentException. <br /> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-setArguments$">setArguments: </a></h3> - (void) <b>setArguments:</b> (<a rel="gsdoc" href="NSArray.html#class$NSArray">NSArray</a>*)args;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets an array of arguments to be supplied to the task when it is launched. The default is an empty array. This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-setCurrentDirectoryPath$">setCurrentDirectoryPath: </a></h3> - (void) <b>setCurrentDirectoryPath:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)path;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the home directory in which the task is to be run. The default is the parent processes directory. This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-setEnvironment$">setEnvironment: </a></h3> - (void) <b>setEnvironment:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)env;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the environment variables for the task to be run. The default is the parent processes environment. This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-setLaunchPath$">setLaunchPath: </a></h3> - (void) <b>setLaunchPath:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)path;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the <var>path</var> to the executable file to be run. There is no default for this - you must set the launch <var>path</var>. This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-setStandardError$">setStandardError: </a></h3> - (void) <b>setStandardError:</b> (id)hdl;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the standard error stream for the task. <br /> This is normally a writable NSFileHandle object. If this is an NSPipe, the write end of the pipe is automatically closed on launching. <br /> The default behavior is to inherit the parent processes stderr output. <br /> This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-setStandardInput$">setStandardInput: </a></h3> - (void) <b>setStandardInput:</b> (id)hdl;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the standard input stream for the task. <br /> This is normally a readable NSFileHandle object. If this is an NSPipe, the read end of the pipe is automatically closed on launching. <br /> The default behavior is to inherit the parent processes stdin stream. <br /> This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-setStandardOutput$">setStandardOutput: </a></h3> - (void) <b>setStandardOutput:</b> (id)hdl;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sets the standard output stream for the task. <br /> This is normally a writable NSFileHandle object. If this is an NSPipe, the write end of the pipe is automatically closed on launching. <br /> The default behavior is to inherit the parent processes stdout stream. <br /> This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-standardError">standardError </a></h3> - (id) <b>standardError</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the standard error stream for the task - an NSFileHandle unless an NSPipe was passed to <a rel="gsdoc" href="#method$NSTask-setStandardError$"> -setStandardError: </a> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-standardInput">standardInput </a></h3> - (id) <b>standardInput</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the standard input stream for the task - an NSFileHandle unless an NSPipe was passed to <a rel="gsdoc" href="#method$NSTask-setStandardInput$"> -setStandardInput: </a> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-standardOutput">standardOutput </a></h3> - (id) <b>standardOutput</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the standard output stream for the task - an NSFileHandle unless an NSPipe was passed to <a rel="gsdoc" href="#method$NSTask-setStandardOutput$"> -setStandardOutput: </a> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-suspend">suspend </a></h3> - (BOOL) <b>suspend</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Sends a stop signal to the receiver and any subtasks. <br /> If the task has not been launched, raises an NSInvalidArgumentException. <br /> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-terminate">terminate </a></h3> - (void) <b>terminate</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Sends a terminate signal to the receiver and any subtasks. <br /> If the task has not been launched, raises an <code>NSInvalidArgumentException</code>. <br /> Has no effect on a task that has already terminated. <br /> When a task terminates, either due to this method being called, or normal termination, an <code>NSTaskDidTerminateNotification</code> is posted. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-terminationReason">terminationReason </a></h3> - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSTaskTerminationReason">NSTaskTerminationReason</a>) <b>terminationReason</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.5.0</div> <br /> <div class="desc"> Returns the termination reason of the task. <br /> If the task has not completed running, raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-terminationStatus">terminationStatus </a></h3> - (int) <b>terminationStatus</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Returns the termination status of the task. <br /> If the task has not completed running, raises an NSInvalidArgumentException. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-usePseudoTerminal">usePseudoTerminal </a></h3> - (BOOL) <b>usePseudoTerminal</b>;<br /> <div class="availability"> <b>Availability:</b> Not in OpenStep/MacOS-X</div> <br /> <div class="desc"> If the system supports it, this method sets the standard input, output, and error streams to a pseudo-terminal so that, when launched, the child task will act as if it was running interactively on a terminal. The file handles can then be used to communicate with the child. <br /> This method cannot be used after a task is launched... it raises an NSInvalidArgumentException. <br /> The standard input, output and error streams cannot be changed after calling this method. <br /> The method returns <code>YES</code> on success, <code>NO</code> on failure. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-validatedLaunchPath">validatedLaunchPath </a></h3> - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>validatedLaunchPath</b>;<br /> <div class="availability"> <b>Availability:</b> Not in OpenStep/MacOS-X</div> <br /> <div class="desc"> Returns a validated launch path or <code>nil</code> . <br /> Allows for the GNUstep host/operating system, and library combination subdirectories in a path, appending them as necessary to try to locate the actual binary to be used. <br /> Checks that the binary file exists and is executable. <br /> Even tries searching the directories in the PATH environment variable to locate a binary if the original launch path set was not absolute. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSTask-waitUntilExit">waitUntilExit </a></h3> - (void) <b>waitUntilExit</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> Suspends the current thread until the task terminates, by waiting in NSRunLoop (NSDefaultRunLoopMode) for the task termination. <br /> Returns immediately if the task is not running. </div> <hr width="25%" align="left" /> </div> <a name="_NSTask_ivars"/> <br/><hr width="50%" align="left" /> <h2>Instance Variables for NSTask Class</h2> <h3><a name="ivariable$NSTask*_arguments">_arguments</a></h3> @protected NSArray* <b>_arguments</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_currentDirectoryPath">_currentDirectoryPath</a></h3> @protected NSString* <b>_currentDirectoryPath</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_environment">_environment</a></h3> @protected NSDictionary* <b>_environment</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_hasCollected">_hasCollected</a></h3> @protected BOOL <b>_hasCollected</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_hasLaunched">_hasLaunched</a></h3> @protected BOOL <b>_hasLaunched</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_hasNotified">_hasNotified</a></h3> @protected BOOL <b>_hasNotified</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_hasTerminated">_hasTerminated</a></h3> @protected BOOL <b>_hasTerminated</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_launchPath">_launchPath</a></h3> @protected NSString* <b>_launchPath</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_launchingThread">_launchingThread</a></h3> @protected NSThread* <b>_launchingThread</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_standardError">_standardError</a></h3> @protected id <b>_standardError</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_standardInput">_standardInput</a></h3> @protected id <b>_standardInput</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_standardOutput">_standardOutput</a></h3> @protected id <b>_standardOutput</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_taskId">_taskId</a></h3> @protected int <b>_taskId</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_terminationReason">_terminationReason</a></h3> @protected NSTaskTerminationReason <b>_terminationReason</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <h3><a name="ivariable$NSTask*_terminationStatus">_terminationStatus</a></h3> @protected int <b>_terminationStatus</b>;<br /> <div class="availability"> <b>Availability:</b> OpenStep</div> <br /> <div class="desc"> <em>Warning</em> the underscore at the start of the name of this instance variable indicates that, even though it is not technically <em>private</em>, it is intended for internal use within the package, and you should not use the variable in other code. </div> <hr width="25%" align="left" /> <br/><hr width="50%" align="left" /><br/> <br /> <a href="Base.html">Up</a> </font> </body> </html>