This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Tcl error, plz help

Old posts that have not been replied to for several years.
Locked
T
TheyCallMeCocain

Tcl error, plz help

Post by TheyCallMeCocain »

Hi i get this error when i try exec'ing a bat file:
Tcl error [update]: couldn't duplicate input handle: bad file number

the line there is a error in:
exec update.bat
^^ simple :)

im useing windrop

can this problem be solved ?

(it worked for some time :( )
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This error crops up a lot in windows, when using Tcl functions.

It's main occurance is during file operations, including opening, and executing.

Another method could be to use

Code: Select all

set fp [open "|update.bat"]
Locked