Open Bugs | New Bug anonymous
Login/Register

Equi4 SoftwareEdit Bug

Title: fcopy -command does not fire Status: open
Product: Tclkit Severity: -
Version: 8.4.6 Type: bug
Assign to:
Platform:
Windows XP
Message:

File:
Description:

Messages

2003/12/23
A file in the local file system is copied using:
fcopy $hs $hd -command "FileEvent"
When wrapped in a starkit the command is never invoked.
The problem exists also for Starkit 8.4.2.
Example:
The attached test files need the starkit support files in the unpacking directory
(see wrap.bat).
The main file is fcopyevent.vfs/fcopyevent.tcl:
console show
proc FileEvent args {
puts "FileEvent $args"
close $::hs
close $::hd
}
set hs [open [file join $FileDir source.txt] r]
set hd [open [file join $FileDir destination.txt] w]
fcopy $hs $hd -command "FileEvent"
-EOF-
When starting fcopyevent.tcl (not in the sub-directory) the console says "FileEvent
65".
When wrapping the application using wrap.bat and starting fcopyevent.exe, the console
does not say anything.
Thus the comaand is never executed.
2004/04/21 oehhar
Problem still present in 8.4.6.
2004/05/17 jcw
This appears to be the same long-standing bug as reported on SF, Tcl# 719790.
I would VERY VERY VERY much like to resolve this.
I have no idea where to look, Tclkit does not do anything with events. The only
connection is "rechan", which does handle events, but only for files in a starkit.
2004/12/10 oehhar
Unfortunately still present in 8.4.9.

Files

2003/12/23 F:\elmicron\tech\tcl\Fehler\starkit-fcopyevent\fcopyevent.zip fcopyevent.zip application/x-zip-compressed

Bug Tracker © 2002 McMillan Enterprises, Inc.