[comp.sys.sgi] TCL users - bug in "exec" command

drw900@anusf.anu.edu.au ("Drew R Whitehouse") (05/06/91)

	For any one using tcl on SG's machine - vfork isn't supported
properly. This breaks the exec command. The fix is simple, in
Tcl_ExecCmd() (tclCmdAH.c) replace the call to vfork woth fork. I use
-


    /*
     * Fork off the child process.
     */

#ifdef sgi
    pid = fork();
#else
    pid = vfork();
#endif

								Drew

P.S. If you haven't tried TCL check it out ! (tk.tar.Z at sprite.berkeley.edu)

// Drew Whitehouse,                E-mail:  drw900@anusf.anu.edu.au 
// Visualization Group,            Fax   : +61 (0)6 247 3425 
// Australian National University, Phone : +61 (0)6 249 5985
// Supercomputer Facility.
// GPO Box 4, Canberra ACT Australia 2601.