-
I would like to see changes made to Expectto make it thread safe. I have several iTcl applications where I want to add threading to allow concurrent interaction with many of our products. Unfortunately, I was unable to do this in a nice OO way due to the fact that Expect is currently thread unsafe, at least it is on Windows. I'm not sure of it's state on other OSs but all my apps are being used...
2009-11-30 18:09:12 UTC by guitarzar
-
Looks like expectk doesn't source local and global rc files. It happens both for CVS (with patch from 2585764, otherwise it doesn't start at all) and for older releases (e.g. 5.43.0). expectk -help returns the following among other info:
-norc: Don't read ~/.expect.rc
-NORC: Don't read system-wide expect.rc
so, rc files should be sources.
The attached patch moves my_rc and sys_rc...
2009-11-11 19:19:00 UTC by teopetuk
-
andreas_kupries committed patchset 489 of module expect to the Expect CVS repository, changing 1 files.
2009-11-03 23:43:22 UTC by andreas_kupries
-
Fixed as well, now. Staying at version .15. Checked remainder of exp_error calls, they seems to be good.
2009-11-03 23:39:16 UTC by andreas_kupries
-
As in Bug #2891422
% spawn -ignore foo pwd
usage: -ignore : unknown signal name.
2009-11-03 23:37:02 UTC by eee
-
andreas_kupries committed patchset 488 of module expect to the Expect CVS repository, changing 2 files.
2009-11-03 23:30:05 UTC by andreas_kupries
-
Fix committed to head. Bumped to 5.44.1.15
Tcl_Obj* used argument for %s :(
Replaced with correct char* typed variable.
2009-11-03 19:28:56 UTC by andreas_kupries
-
andreas_kupries committed patchset 487 of module expect to the Expect CVS repository, changing 4 files.
2009-11-03 19:27:58 UTC by andreas_kupries
-
Using Expect version 5.44.1.14, observed on AIX 5.3 and Solaris 9.
# /usr/local/ActiveTcl/bin/tclsh
% package req Expect
5.44.1.14
% spawn "ls -l /usr/bin"
spawn ls -l /usr/bin
couldn't execute "": no such file or directory
%
As you can see, the thing that spawn is saying it couldn't execute is "", instead of "ls -l /usr/bin".
2009-11-03 18:59:21 UTC by eee
-
Can you try creating the script differently? Instead of having a bash script use expect to do this, make an expect script to do it. Have expect open the text file of logins and passwords, have expect loop through them and copy the files.
2009-10-28 19:45:58 UTC by ender21014