Detecting if a file is still opened by another program On Jul 16, 4:04 pm, Alexandre Ferrieux <alexandre.ferri...(a)gmail.com> wrote: On Jul 16, 6:20 am, "S-Y. Chen" <shenyeh_c...(a)hotmail.com> wrote: I think I forgot to say, this is Windows. Oh ! (you said it 'forked', so I had a bit of hope... too bad) So the child process here is a package called ... 17 Jul 2010 06:35
exec - problem with stderr I have a program that writes to stderr and I want to execute it with "exec". When I do this, TCL shows me an error message as though it was an ordinary TCL error. I simply want the output of this program to go to a variable. this is what I did: set compiler "bin/tecs-software-suite-2.5/JackCompiler.bat" set s [e... 16 Jul 2010 12:06
search for a string in a file using expect.. Hi, I want to grep for a particular string in a file and get the value next to it. My data: user1: 11111111 user2: 22222222 code ====== set in [open "data.txt" r] while {[gets $in line] != -1} { # here i want to grep for user2 and get the value 11111111 as out put. } close $in ... 18 Jul 2010 04:08
Tcl and MATLAB (Was: Re: Please help : suppress error message from exec On Jul 16, 12:20 am, "S-Y. Chen" <shenyeh_c...(a)hotmail.com> wrote: exec $comsol_cmd matlab -ml /nodesktop -ml /nosplash -mlr "antenna_COMSOL_01, exit" I noticed you were executing matlib in your example. Are you aware of a few Tcl extensions related to use of matlab? < http://wiki.tcl.tk/matlab men... 16 Jul 2010 08:47
dismissing a tk_dialog I received a question recently about an application which was using tk_dialog. The application shouldn't have been using tk_dialog, in my opinion, but that isn't the issue. On SPARC Solaris, using GNOME, when the tk_dialog appears, it has a dialog's window manager frame . There's an "X" for dismissing the widget... 16 Jul 2010 15:27
Tablelist event binding doesn't behave as expected Short form: It seems to me that the active element of a tablelist changes only after the event TablelistSelect has fired. Is there an event which fires *after* the active element has changed? Long form: When I run the following script, it displays a tablelist with two rows. When I click on the second row, the m... 17 Jul 2010 13:02
Font compatibility problem or bug? Hi *, once more I found a tcl script which fails due to new "standard" tk* font names. Example: pack [text .t] set cfont [.t cget -font] .t insert end "Hello World!" .t configure -font "$cfont bold" This works in Tcl 8.4 but fails in Tcl 8.5 with the error message: expected integer but got "bold... 16 Jul 2010 20:57
TclApp under OSX: where are the packages? Hi all, I am trying to wrap an app for OSX, but some packages seem to not exist. Any ideas? For example, searching with the keyword "tdbc" in packages, I get only "tdbc::sqlite3", but not the plain "tdbc". Also, tdom seems to also not been available, but doing package require tdom in tclsh8.6 returns 0.8.3... 17 Jul 2010 09:48
any really good aolserver powered online forums? I just had getbig.com somehow glitch em out fo thier forums which were cool while they lasted. Any awesome popular workout forums on aolserver? ... 15 Jul 2010 04:28
hey tcl-rs how life I saw a lot of continuations stuff liek continuity in perl etc hows tcl doing? still lots of productivity I had an interview with really annoying perl hack and wow, I am pressured to learn perl or ruby or python as unix admin I like tcl so far is tcl able to hadnle all the tuff stuff? liek coudl you ... 15 Jul 2010 18:43 |