| Description: |
runbench.tcl exec 'echo' in proc getInterps:
if {[catch {exec echo "puts \[info patchlevel\] ;
exit" | \
$interp} patchlevel]} {...}
This does not work with msys, because it doesn't come
with an echo binary (but only an echo written in terms
of a shell script, which obviously isn't recognized as
executable in an exec call). runbench.tcl seems to
expect a cygwin environment (which has an echo.exe).
Though, since both cygwin and msys (and any unix
anyway) have a sh, I propose to change that code in
getInterps to:
if {[catch {exec sh -c "echo puts \[info patchlevel\]
; exit" | \
$interp} patchlevel]} {...}
With only this change, runbench.tcl runs under msys or
a windows console with the msys binariers in the PATH.
|