[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[WNT] Error trying to run a program with eval



Hi -

I am trying to run a program from a Tcl program using the following
code:

	set cmd "vic.exe 224.2.188.149/52212"
	if [catch {eval exec $cmd &} m] {
	    puts "couldn't run \"$cmd\" eval returned: $m"
	}

on WNT 4.1 and Tcl 8.0. I get the following error message in $m
	couldn't duplicate input handle: bad file number

Any idea what the problem might be.
	Larry
-- 
Professor Lawrence A. Rowe          Internet:  Rowe@BMRC.Berkeley.EDU
Computer Science Division - EECS       Phone: 510-642-5117
University of California, Berkeley       Fax: 510-642-5615
Berkeley, CA 94720-1776            URL: http://bmrc.berkeley.edu/~larry