TIP #240 (An Ensemble Command to Manage Processes)
Open1315115fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-10-06 16:26:56
* Most of the new code is in TclIOCmd.c which is getting quite large, another possibility is a new file TclProcess.c * A new platform specific function TclGetProcessStatus () is like Tcl_WaitPid() but provides a platform independent means of indicating the error condition if an invalid process id is specified. I dont think Tcl_WaitPid () can do this given its current interface * A new platform specific function Tcl_GetPidHandle() is the converse of Tcl_GetPid() * TclpCreateProcess() was inconsistent in its treatment of NULL TclFiles on UNIX is meant use the parent channels, on Windows it meant leave them disconnected. TclCreatePipeline() always connects them (as far as I can tell), Ive changed the UNIX implementation to be consistent with that on Windows. * Successfully runs the examples shown in the TIP on Solaris 2.8 and Windows XP and no regressions seen in existing tests * Ive not done anything special for macosx * new tests and docs not yet done
dkf Ticket [1315115fff]: 2 changes
[History diff]2005-10-07 01:01:50
steveboldplain2005-10-07 14:54:22
Logged In: YES user_id=810219 I entered a filename for the patch file but forgot to check the box. Let's try again.
steveboldplain2005-10-07 14:54:23
File Added - 151632: tip240.8_5a3.patch
steveboldplain2005-10-07 14:56:42
Logged In: YES user_id=810219 I entered a filename for the patch file but forgot to check the box. Let's try again.
steveboldplain2005-10-07 14:56:43
File Added - 151633: tip240.8_5a3.patch
steveboldplain2005-10-07 15:01:52
File Deleted - 151632:
Log in (anonymous is fine) to add a comment.
Attachments:
- tip240.8_5a3.patch [download] added by stevebold on 2005-10-07 14:56:42. [details]