Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-07
15:01 • Ticket [1315115fff] TIP #240 (An Ensemble Command to Manage Processes) statu... artifact: 80422e7af8 user: stevebold
14:56 • Ticket [1315115fff]: 4 changes artifact: ac169b372d user: stevebold
14:56 • Ticket [1315115fff]: 4 changes artifact: 9322eba958 user: stevebold
14:56 • Add attachment tip240.8_5a3.patch to ticket [1315115fffffffff|1315115ff... artifact: 3a553346df user: stevebold
14:54 • Ticket [1315115fff] TIP 240 status still Open with 4 other changes artifact: d024201ef5 user: stevebold
14:54 • Ticket [1315115fff]: 4 changes artifact: 4292cb2b60 user: stevebold
01:01 • Ticket [1315115fff]: 2 changes artifact: 3dc29841a0 user: dkf
2005-10-06
16:26 • New ticket [1315115fff]. artifact: 9f42396512 user: stevebold

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 don’t 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 TclFile’s – 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), I’ve 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

* I’ve 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: