Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!manuel!anusf.anu.edu.au!drw900 From: drw900@anusf.anu.edu.au ("Drew R Whitehouse") Newsgroups: comp.sys.sgi Subject: TCL users - bug in "exec" command Keywords: TCL Message-ID: <1991May6.113752@anusf.anu.edu.au> Date: 6 May 91 01:37:52 GMT Sender: news@newshost.anu.edu.au Reply-To: drw900@anusf.anu.edu.au Organization: Australian National University Supercomputer Facility Lines: 26 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.