[GiDlist] Re: exec command
Posted: Fri Mar 14, 2003 5:50 pm
Hi GiD,
I am currently calling an executable by doing the following in the .tcl file:
.central.s process escape util calculate
and inside the .bat file i have:
%3\fem.exe %3\%1
The input is a filename string and it runs fine but I wish to utilize the
exec command in tcl instead, I tried in the .tcl file:
exec fem.exe filename
But it doesn't work. I'm not very familar with the tcl syntax, can someone
help me out?
Thanks a bunch,
Tom
Thomas Chan
R&D Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030314/4078fc93/attachment.htm
I am currently calling an executable by doing the following in the .tcl file:
.central.s process escape util calculate
and inside the .bat file i have:
%3\fem.exe %3\%1
The input is a filename string and it runs fine but I wish to utilize the
exec command in tcl instead, I tried in the .tcl file:
exec fem.exe filename
But it doesn't work. I'm not very familar with the tcl syntax, can someone
help me out?
Thanks a bunch,
Tom
Thomas Chan
R&D Engineer
EMAG Technologies, Inc.
www.emagtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20030314/4078fc93/attachment.htm