I have had trouble getting exec to work under Windows environment. I am trying to execute the following:
set ret [ exec "wish83 p1.tcl arg "]
It returns with an error saying that it does find file/program named p1.tcl. I know that the p1.tcl does exist but in the current directory. I have tried to give fullpath in the exec. It does not work.
Does anyone know how to make it work? Do I need to specify some environment variable so that it knows where to find the file?
Also, the documentation says that the exec runs as a subprocess. Does it really run as a separate process?
THanks
set ret [ exec "wish83 p1.tcl arg "]
It returns with an error saying that it does find file/program named p1.tcl. I know that the p1.tcl does exist but in the current directory. I have tried to give fullpath in the exec. It does not work.
Does anyone know how to make it work? Do I need to specify some environment variable so that it knows where to find the file?
Also, the documentation says that the exec runs as a subprocess. Does it really run as a separate process?
THanks